Re: Feature request: Per database search_path - Mailing list pgsql-general

From Richard Huxton
Subject Re: Feature request: Per database search_path
Date
Msg-id 469E8E0B.5060108@archonet.com
Whole thread Raw
In response to Feature request: Per database search_path  (Francisco Reyes <lists@stringsutils.com>)
Responses Re: Feature request: Per database search_path  ("Jim C. Nasby" <decibel@decibel.org>)
List pgsql-general
Francisco Reyes wrote:
> As far as I know, currently one can set the search path globally, or on
> a per role bases.
>
> I was wondering if it could be possible to have a per database search_path.
> I believe this would be not only convenient, but will add flexibility.


ALTER DATABASE leia SET search_path = public,lookups;

Seems to work for me on 8.2 - you'll need to disconnect and reconnect to
see it take place though.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: "Roderick A. Anderson"
Date:
Subject: Re: DBI/DBD::Pg and transactions
Next
From: "Pat Maddox"
Date:
Subject: Re: Need help optimizing this query