Ask Your Question

Postgresql - dump table data exluding toast data

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

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


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

Evgeny's avatar Evgeny  ( 2012-06-20 23:58:21 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

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

Evgeny's avatar

Dumpdata command has option --exclude. Take a look at the documentation.

Also you should be able to dump just askbot's data:

python 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


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

Seen: 274 times

Last updated: Jun 20 '12