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

Re: Problem with pg_user (somewhat urgent)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Fromme <olli(at)lurza(dot)secnetix(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Problem with pg_user (somewhat urgent)
Date: 2003-10-14 00:56:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Oliver Fromme <olli(at)lurza(dot)secnetix(dot)de> writes:
> We have a PostgreSQL 7.3.4 cluster which is used by several
> customers.  Every customer has his own database.  I have
> revoked SELECT access on pg_user from the customers, because
> they should not be able to see which other customers exist
> on the cluster.

That is a bad idea (and incomplete anyway; wouldn't looking at
pg_database give the same information?)

If you really need that much separation, give each customer his own
database cluster (postmaster).

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Josh BerkusDate: 2003-10-14 02:27:28
Subject: Re: SQL from PLPerl
Previous:From: Systems AdministratorDate: 2003-10-14 00:20:37
Subject: SQL from PLPerl

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