Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group