Re: How to inherit search_path from template

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: How to inherit search_path from template
Дата
Msg-id AANLkTimxa2+zJ3_s9yWyRb_CD4JFB5Wb=qWU+zsP-6U6@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to inherit search_path from template  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
On Sun, Sep 12, 2010 at 8:34 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> 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=..."

so you can...thanks for that!

merlin

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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: Post Install / Secure PostgreSQL
Следующее
От: "Rob Richardson"
Дата:
Сообщение: Re: Is there a bug in FOR i IN 1..10 LOOP (8.4.4)?