| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Bruno Wolff III <bruno(at)wolff(dot)to> |
| Cc: | jwsacksteder(at)ramprecision(dot)com, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: compartmentalizing users |
| Date: | 2004-03-03 14:16:56 |
| Message-ID: | 200403031416.i23EGuo22171@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Bruno Wolff III wrote:
> On Fri, Feb 27, 2004 at 11:01:54 -0500,
> jwsacksteder(at)ramprecision(dot)com wrote:
> > Is there a way to segregate users by database or schema so that in a hosting
> > situation you could keep different customers apart? Otherwise, the
> > unpleasant alternative is to run separate instances of Postgres.
>
> Yes, but the separation isn't total. One solution would be to have a DB
> per user. However all users will still be able to see the shared
> system tables. This will allow them to see schema (DDL definitions)
> of other users. Though they won't be able to get at other user's
> data.
Take a look at the db_user_namespace option in postgresql.conf. It is
used for this purpose.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruno Wolff III | 2004-03-03 14:17:13 | Re: Selecting reals into doubles |
| Previous Message | Mimi Siu | 2004-03-03 14:14:00 | Large Object |