Re: [HACKERS] pg_dump COMMENT ON DATABASE sometimes inappropriate

2005-09-21 Thread Robert Treat
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

Re: [HACKERS] pg_dump COMMENT ON DATABASE sometimes inappropriate

2005-09-21 Thread Tom Lane
Michael Fuhr [EMAIL PROTECTED] writes: pg_dump emits COMMENT ON DATABASE (if the database has a comment) even when dumping only an individual schema or table. That seems inappropriate, Agreed, this seems like a bug. Fix applied. regards, tom lane

[HACKERS] pg_dump COMMENT ON DATABASE sometimes inappropriate

2005-09-20 Thread Michael Fuhr
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