Re: TODO item: Allow more complex user/database default GUC settings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TODO item: Allow more complex user/database default GUC settings
Дата
Msg-id 15377.1254323975@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TODO item: Allow more complex user/database default GUC settings  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: TODO item: Allow more complex user/database default GUC settings  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: TODO item: Allow more complex user/database default GUC settings  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> And here's the last necessary bit, which is pg_dump support for all
> this.

> +         /* Dump role/database settings */
> +         if (!tablespaces_only)
> +         {
> +             if (server_version >= 80500)
> +                 dumpDbRoleConfig(conn);
> +         }

Hmm ... I would kind of think that --roles-only should suppress this too.
Otherwise you're going to be dumping commands that might refer to
nonexistent databases.
        regards, tom lane


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: CommitFest 2009-09, two weeks on
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CommitFest 2009-09, two weeks on