Re: pg_dump: COPY vs INSERT - Mailing list pgsql-admin

From Tom Lane
Subject Re: pg_dump: COPY vs INSERT
Date
Msg-id 21665.1150562202@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump: COPY vs INSERT  (Colton A Smith <smith@cs.utk.edu>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Colton A Smith
Date:
Subject: pg_dump: COPY vs INSERT
Next
From: Tom Lane
Date:
Subject: Re: pg_restore