Postgresql - dump table data exluding toast data
I want to eliminate toast data from a table and dump it. Any assistance would be appreiated
asked 2012-06-20 23:30:31 -0500
This post is a wiki. Anyone with karma >100 is welcome to improve it.
I want to eliminate toast data from a table and dump it. Any assistance would be appreiated
Dumpdata command has option --exclude
. Take a look at the documentation.
Also you should be able to dump just askbot's data:
python manage.py dumpdata askbot django_authopenid
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-06-20 23:30:31 -0500
Seen: 224 times
Last updated: Jun 20 '12
My Askbot initialisation snafus
Database error when running migrations
Need to be DB superuser to migrate askbot?
Migrate.py not migrating several modules
Is there a specific version of PostgreSQL required?
DatabaseError: server closed the connection unexpectedly
Errors during installation process (migration) with Postgresql 8.4 and 9.1
I gave an answer how to dump data using django data dumper, but do you want to use
pg_dump
?