Ask Your Question
0

Postgresql - dump table data exluding toast data

asked 2012-06-20 23:30:31 -0500

this post is marked as community wiki

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

edit retag flag offensive close merge delete

Comments

I gave an answer how to dump data using django data dumper, but do you want to use pg_dump?

Evgeny gravatar imageEvgeny ( 2012-06-20 23:58:21 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2012-06-20 23:35:53 -0500

Evgeny gravatar image

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
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-20 23:30:31 -0500

Seen: 162 times

Last updated: Jun 20 '12