From: Fred Vos <fred.vos@uvt.nl>
To: pgsql-admin@postgresql.org
Subject: Visibility of objects in other schema's
Date: Wed, 22 Oct 2003 19:46:11 +0200
Message-ID: <3F96C263.5090808@uvt.nl> (raw)
Hello,
Since version 7.3 of PostgreSQL it's possible to create schema's. The
User's Guide (paragraph 2.8.4) says that it is not possible to view
objects from a schema you do not own:
"By default, users cannot see the objects in schemas they do not own."
I'm using PostgreSQL 7.3.4 under Linux. As the administrator I created
two schema's for two users:
create schema vosf authorization vosf;
create schema snefru authorization snefru;
If I logon to the database with psql as user vosf and create a table, it
is created under schema vosf. That's good. If I logon to the same
database with psql as user snefru and issue:
\d vosf.*
I can see all tables within the vosf schema. Paragraph 2.8.4 says I
should not. I cannot do selects from these tables, but I think seeing
what tables a user has created and which columns these have is wrong. I
want to use a single database on a single server, but this visibility
issue keeps me using multiple databases. Is it considered a problem? If
so, is it a known problem? Not subscribed anymore to any PostgreSQL
list, I searched the archives, but did not find a similar question.
Thanks for any help. PostgreSQL is a great database.
Fred
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: fred.vos@uvt.nl
Subject: Re: Visibility of objects in other schema's
In-Reply-To: <3F96C263.5090808@uvt.nl>
References: <3F96C263.5090808@uvt.nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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