Re: BUG #3760: Comment on restore database

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #3760: Comment on restore database
Дата
Msg-id 200711191927.lAJJRFF09412@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #3760: Comment on restore database  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: BUG #3760: Comment on restore database  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-bugs
Alvaro Herrera wrote:
> Bruce Momjian wrote:
> > Malcus Imhof wrote:
>
> > Yea, the dump thinks it is going into the same database.  I don't see
> > any way of fixing that.  We don't allow functions for the object name.
> > If we did we could use current_database().  Fortunately I think it is
> > the only place where the database name is hardcoded in the dump.
>
> The easiest would be to add new syntax,
> COMMENT ON CURRENT DATABASE IS 'foo'

Yea, probably.  I have added that as possible syntax to the TODO list.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #3760: Comment on restore database
Следующее
От: "Jose Tomas Eterovic"
Дата:
Сообщение: BUG #3761: Problems with to_char(timestamp) and milliseconds