By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,691 Members | 1,997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,691 IT Pros & Developers. It's quick & easy.

dump table question

P: n/a
Howdy:

Running PostgreSQL 7.3.3 on RedHat Linux 7.2

I'm trying to dump a table out with the insert
statements imbedded and I'm not having any success.

The man page for pg_dump says to use:

-d / -D to add the inserts (and values)
-f to send output to a file
-O for no owner
-t is for the table only

This is my command line version:

[[ /raid/pgsql/bin/pg_dump -D -t sys_test -f outtie test_db ]]

and this is the results:

[snip]
--
-- PostgreSQL database dump
--
[/snip]

What is the correct way to dump data and table structure
into a file with the insert / values in the file?

Thanks!

-X

Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.