Re: USAGE on schema allowed by default? - Mailing list pgsql-general

From Tom Lane
Subject Re: USAGE on schema allowed by default?
Date
Msg-id 11558.1038691945@sss.pgh.pa.us
Whole thread Raw
In response to USAGE on schema allowed by default?  (Jochem van Dieten <jochemd@oli.tudelft.nl>)
Responses Re: USAGE on schema allowed by default?  (Jochem van Dieten <jochemd@oli.tudelft.nl>)
List pgsql-general
Jochem van Dieten <jochemd@oli.tudelft.nl> writes:
> I am having a problem with USAGE. If I create a schema, users other than
> the owner can enumerate tables in that schema.

This has nothing to do with USAGE on the schema; it is just a matter of
being able to read the system catalogs.  The only way we could prevent
it would be to disallow unprivileged users from reading pg_class; which
would break enough things that it seems unattractive.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: strange pg_stats behaviour?
Next
From: Jochem van Dieten
Date:
Subject: Re: USAGE on schema allowed by default?