From: Tom Lane <tgl@sss.pgh.pa.us>
To: Colton A Smith <smith@cs.utk.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump: COPY vs INSERT
Date: Sat, 17 Jun 2006 12:36:42 -0400
Message-ID: <21665.1150562202@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.62.0606160806110.32464@cetus5.cs.utk.edu>
References: <Pine.LNX.4.62.0606160806110.32464@cetus5.cs.utk.edu>
Colton A Smith <smith@cs.utk.edu> writes:
> When I try 'pg_dump -f output.txt -t <tablename> -d <databasename>',
> output.txt is always filled with INSERT statements.
That's what the -d switch tells it to do. Better read the man page
again, or see pg_dump --help.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, smith@cs.utk.edu
Subject: Re: pg_dump: COPY vs INSERT
In-Reply-To: <21665.1150562202@sss.pgh.pa.us>
References: <Pine.LNX.4.62.0606160806110.32464@cetus5.cs.utk.edu> <21665.1150562202@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox