pgsql: This fixes pg_dump so that when using the '-O' no owners option

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: This fixes pg_dump so that when using the '-O' no owners option
Date: 2006-02-09 20:52:13
Message-ID: 20060209205213.655299DCAC3@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_backup_archiver.c (r1.120 -> r1.121)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c.diff?r1=1.120&r2=1.121)

Browse pgsql-committers by date

  From Date Subject
Next Message User Dfetter 2006-02-09 23:20:25 dbi-link - dbi-link: Removed USAGE.txt.
Previous Message Tom Lane 2006-02-09 18:28:43 pgsql: Provide the libpq error message when PQputline or PQendcopy