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
Список 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 по дате отправления: