Re: BUG #3760: Comment on restore database - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3760: Comment on restore database
Date
Msg-id 8655.1195517641@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #3760: Comment on restore database  (Bruce Momjian <bruce@momjian.us>)
Responses Re: BUG #3760: Comment on restore database  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> This is an extremely poorly phrased TODO item.

> OK, updated:

>         o Prevent COMMENT ON dbname from issuing a warning when loading
>           into a database with a different name, perhaps using COMMENT ON
>           CURRENT DATABASE

That's not any better, because the warning isn't the problem either.
Perhaps:

    o Change pg_dump so that any comment on the dumped database is
      applied to the database the dump is loaded into, even if
      its database name is different.  This will require new
      backend syntax, perhaps COMMENT ON CURRENT DATABASE.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #3760: Comment on restore database
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #3760: Comment on restore database