]> granicus.if.org Git - postgresql/commit
This fixes pg_dump so that when using the '-O' no owners option it does
authorBruce Momjian <bruce@momjian.us>
Thu, 9 Feb 2006 20:52:13 +0000 (20:52 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 9 Feb 2006 20:52:13 +0000 (20:52 +0000)
commit593763c086e76159cc9562e9b024ad772af9d5fe
treee240b7b8dbcd4bb4f8587155c62dd554edfc7199
parentff2cc83f8a738512c8c0dacbf8d36bc1a9467589
This fixes pg_dump so that when using the '-O' no owners option it does
not print the owner name in the object comment.

eg:

--
-- Name: actor; Type: TABLE; Schema: public; Owner: chriskl; Tablespace:
--

Becomes:

--
-- Name: actor; Type: TABLE; Schema: public; Owner: -; Tablespace:
--

This makes it far easier to do 'user independent' dumps.  Especially for
distribution to third parties.

Christopher Kings-Lynne
src/bin/pg_dump/pg_backup_archiver.c