- pgx_list_dbs: Lists the names of databases in an .sql file dumped using pg_dumpall.
- pgx_extract_db: Extracts a single database from a sql file dumped with pg_dumpall and outputs its content to stdout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Get django-sekizai, django-compessor (and django-cms) playing nicely together | |
| re: https://github.com/ojii/django-sekizai/issues/4 | |
| using: https://github.com/jezdez/django_compressor.git | |
| and: https://github.com/ojii/django-sekizai.git@0.5 | |
| """ | |
| from compressor.templatetags.compress import CompressorNode | |
| from django.template.base import * | |
| def compress(data, name): |
TL;DR
Create a backup:
pg_dumpall > mybackup.sqlPerform the upgrade:
sudo pg_dropcluster 9.4 main --stop