pg_dump COMMENT ON DATABASE sometimes inappropriate

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_dump COMMENT ON DATABASE sometimes inappropriate
Date: 2005-09-21 05:10:11
Message-ID: 20050921051011.GA40287@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

--
Michael Fuhr

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2005-09-21 05:47:04 Re: passing parameters to CREATE INDEX
Previous Message Oleg Bartunov 2005-09-21 05:01:37 Re: passing parameters to CREATE INDEX