Thread: Restrictions for system tables

Restrictions for system tables

From
msz@mikrobit.pl
Date:
Hi I have many databases in Postgresql and I want to have one user who can
connect only to one database but now if he querying pg_database (select * from
pg_database) he gets list of all databases in my postgres.
Is there any chanse to restrict access to pg_database, which gives in result of
querying pg_database only database which is owned by my restricted user?

Re: Restrictions for system tables

From
Peter Eisentraut
Date:
msz@mikrobit.pl wrote:
> Is there any chanse to restrict access to pg_database, which gives in
> result of querying pg_database only database which is owned by my
> restricted user?

No.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/