dump table question

From: "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: dump table question
Date: 2003-10-02 18:43:44
Message-ID: 73309C2FDD95D11192E60008C7B1D5BB05FED987@snt452.corp.bcbsm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Browse pgsql-general by date

  From Date Subject
Next Message Network Administrator 2003-10-02 18:55:04 Re: Type of application that use PostgreSQL
Previous Message Network Administrator 2003-10-02 18:39:31 Re: your mail