Re: Database Design Question - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Database Design Question
Date
Msg-id 20110202195917.GA5020@svana.org
Whole thread Raw
In response to Re: Database Design Question  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On Wed, Feb 02, 2011 at 11:44:51AM -0800, John R Pierce wrote:
> On 02/02/11 11:24 AM, Joshua D. Drake wrote:
>> Forget separate databases. Use separate users with schemas.
>
> for canned applications like mediawiki and phpbb?   not sure they
> support that.
>

If they use different users you can easily do it by setting the default
search path per user.

ALTER USER phpbb SET search_path='phpbbschema';

As long as the apps don't play with the search path themselves it
should be fine.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patriotism is when love of your own people comes first; nationalism,
> when hate for people other than your own comes first.
>                                       - Charles de Gaulle

Attachment

pgsql-general by date:

Previous
From: Richard Broersma
Date:
Subject: SCALE: seeking booth attendees
Next
From: Bosco Rama
Date:
Subject: Re: redirecting query statement and output to a marked up file, using psql