Re: BUG #3760: Comment on restore database

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #3760: Comment on restore database
Дата
Msg-id 20071119184945.GH18602@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: BUG #3760: Comment on restore database  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: BUG #3760: Comment on restore database  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
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'

--
Alvaro Herrera                        http://www.advogato.org/person/alvherre
"Llegará una época en la que una investigación diligente y prolongada sacará
a la luz cosas que hoy están ocultas" (Séneca, siglo I)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #3760: Comment on restore database
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #3760: Comment on restore database