Re: How to inherit search_path from template

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: How to inherit search_path from template
Дата
Msg-id AANLkTinFqYf0J09CVV13mgNKAzje3PghwFoi6n1LOtp-@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to inherit search_path from template  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: How to inherit search_path from template  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
On Thu, Sep 9, 2010 at 7:41 PM, Merlin Moncure <mmoncure@gmail.com> wrote:
> On Thu, Sep 9, 2010 at 7:13 AM, Phui Hock <phuihock@gmail.com> wrote:
>> Hi,
>> How can I create a database template with altered search_path to be
>> inherited by child databases? Say, I created a template named
>> template_a with the following commands:
>
> It doesn't really work that way -- GUC values are global,  not per
> database.

You can do "alter database xyz set search_path=..."

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

Предыдущее
От: sunpeng
Дата:
Сообщение: why can't see the updated value after SPI_execute("update ....", false, 1);
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Huge amount of memory errors with libpq