Re: pg_dump COMMENT ON DATABASE sometimes inappropriate

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Michael Fuhr <mike(at)fuhr(dot)org>
Subject: Re: pg_dump COMMENT ON DATABASE sometimes inappropriate
Date: 2005-09-21 16:58:19
Message-ID: 200509211258.20072.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday 21 September 2005 01:10, Michael Fuhr wrote:
> pg_dump emits COMMENT ON DATABASE (if the database has a comment)
> even when dumping only an individual schema or table. That seems
> inappropriate, especially when copying data to a different cluster
> where the named database might not exist or might have a different
> comment that shouldn't be overwritten. Does anybody else think
> pg_dump shouldn't emit COMMENT ON DATABASE in these cases?

+1

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rafik Salama 2005-09-21 17:01:08 postgresql clustering
Previous Message Cristian Prieto 2005-09-21 16:52:54 Re: R: feature proposal ...