pgsql: Prevent pg_dump from dumping the comment (if any) on the 'public'

Lists: pgsql-committers
From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent pg_dump from dumping the comment (if any) on the 'public'
Date: 2008-01-14 19:27:41
Message-ID: 20080114192741.2512E754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
-----------
Prevent pg_dump from dumping the comment (if any) on the 'public' schema.
This is to avoid uselessly requiring superuser permissions to restore
the dump without errors. Pretty grotty, but no better alternative seems
available, at least not in the near term.

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_backup_archiver.c (r1.151 -> r1.152)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c?r1=1.151&r2=1.152)