Re: USAGE on schema allowed by default?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: USAGE on schema allowed by default?
Дата
Msg-id 11558.1038691945@sss.pgh.pa.us
обсуждение исходный текст
Ответ на USAGE on schema allowed by default?  (Jochem van Dieten <jochemd@oli.tudelft.nl>)
Ответы Re: USAGE on schema allowed by default?  (Jochem van Dieten <jochemd@oli.tudelft.nl>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: strange pg_stats behaviour?
Следующее
От: Jochem van Dieten
Дата:
Сообщение: Re: USAGE on schema allowed by default?