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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-09-29 20:06:09 Re: Per-database search_path
Previous Message Andrew Sullivan 2006-09-29 19:02:12 Replication hooks discussion