Re: pg_dump without any SET command in header of output plain text sql file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Ignatov <a(dot)ignatov(at)postgrespro(dot)ru>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump without any SET command in header of output plain text sql file
Date: 2016-07-20 17:40:01
Message-ID: 13083.1469036401@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex Ignatov <a(dot)ignatov(at)postgrespro(dot)ru> writes:
> Is there any way to make pg_dump(9.5) to dump table (with data) without
> any SET command in the header of output plain sql file?

No, but if all you want is the table data in a file, why not just use COPY?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Langlois 2016-07-20 17:44:33 Re: Is it possible to control the location of the lock file when starting postgres?
Previous Message Scott Marlowe 2016-07-20 17:33:59 Re: MediaWiki + PostgreSQL is not ready for production?