Re: Can pg_dump make use of CURRENT/SESSION_USER

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Can pg_dump make use of CURRENT/SESSION_USER
Дата
Msg-id CA+TgmoZzLOgGX9ryGC+LLOOO3XVkVACSk-Ywpo+_YzCgDf6bvA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can pg_dump make use of CURRENT/SESSION_USER  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Can pg_dump make use of CURRENT/SESSION_USER  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Список pgsql-hackers
On Tue, Mar 17, 2015 at 1:24 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> If we ever implement something like
>
> COMMENT ON CURRENT_DATABASE IS ...
>
> it will be useful, because you will be able to restore a dump into
> another database and have the comment apply to the target database.
> (Also, I wonder about
> ALTER USER foo IN DATABASE current_database ...
> because that will let us dump per-database user options too.)

+1 for both of those ideas.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: INSERT ... ON CONFLICT IGNORE (and UPDATE) 3.0
Следующее
От: Grzegorz Parka
Дата:
Сообщение: Re: GSoC idea - Simulated annealing to search for query plans