Skip site navigation (1) Skip section navigation (2)

Per-database search_path

From: David Fetter <david(at)fetter(dot)org>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Per-database search_path
Date: 2006-09-29 19:40:17
Message-ID: 20060929194017.GH2823@fetter.org (view raw or flat)
Thread:
Lists: 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(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!

Responses

pgsql-hackers by date

Next:From: Josh BerkusDate: 2006-09-29 20:06:09
Subject: Re: Per-database search_path
Previous:From: Andrew SullivanDate: 2006-09-29 19:02:12
Subject: Replication hooks discussion

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group