Re: How to inherit search_path from template - Mailing list pgsql-general

From Merlin Moncure
Subject Re: How to inherit search_path from template
Date
Msg-id AANLkTimxa2+zJ3_s9yWyRb_CD4JFB5Wb=qWU+zsP-6U6@mail.gmail.com
Whole thread Raw
In response to Re: How to inherit search_path from template  (Scott Marlowe <scott.marlowe@gmail.com>)
List 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 by date:

Previous
From: Sam Mason
Date:
Subject: Re: Post Install / Secure PostgreSQL
Next
From: "Rob Richardson"
Date:
Subject: Re: Is there a bug in FOR i IN 1..10 LOOP (8.4.4)?