Per-database search_path - Mailing list pgsql-hackers

From David Fetter
Subject Per-database search_path
Date
Msg-id 20060929194017.GH2823@fetter.org
Whole thread Raw
Responses Re: Per-database search_path  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Folks,

I'd like to propose a feature for 8.3, which would let login roles
have a default search_path both globally, as it is now, and
per-database.  This is because in general no two databases have
any schemas in common, and a login role should be able to do something
reasonable just by connecting.

What would be involved with making this so?  So far, I can see:

* Storing this information in pg_catalog somehow
* Setting the search_path when a login role connects

Cheers,
D
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!


pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Replication hooks discussion
Next
From: Josh Berkus
Date:
Subject: Re: Per-database search_path