pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Restrictions for system tables
2+ messages / 2 participants
[nested] [flat]

* Restrictions for system tables
@ 2004-09-16 14:14 msz@mikrobit.pl
  2004-09-18 14:02 ` Re: Restrictions for system tables Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 2+ messages in thread

From: msz@mikrobit.pl @ 2004-09-16 14:14 UTC (permalink / raw)
  To: pgsql-admin

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?



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Restrictions for system tables
  2004-09-16 14:14 Restrictions for system tables msz@mikrobit.pl
@ 2004-09-18 14:02 ` Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2004-09-18 14:02 UTC (permalink / raw)
  To: msz@mikrobit.pl; pgsql-admin

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/




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-09-18 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-09-16 14:14 Restrictions for system tables msz@mikrobit.pl
2004-09-18 14:02 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox