Re: Feature request: Per database search_path

From: Richard Huxton <dev(at)archonet(dot)com>
To: Francisco Reyes <lists(at)stringsutils(dot)com>
Cc: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Feature request: Per database search_path
Date: 2007-07-18 22:02:51
Message-ID: 469E8E0B.5060108@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roderick A. Anderson 2007-07-18 22:03:19 Re: DBI/DBD::Pg and transactions
Previous Message Pat Maddox 2007-07-18 21:48:35 Re: Need help optimizing this query