Re: Privileges on information_schema

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Privileges on information_schema
Дата
Msg-id
15901.1191596194@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Privileges on information_schema "Christian Rengstl" <Christian.Rengstl@klinik.uni-regensburg.de>
Re: Privileges on information_schema Tom Lane <tgl@sss.pgh.pa.us>
"Christian Rengstl"  writes:
> whenever I execute the following query as admin I get all results, but
> as soon as I execute it as a less-privileged user the result is empty.
> SELECT * FROM information_schema.schemata

The SQL standard specifies that information_schema.schemata shows you
only schemas you own.  We are slightly laxer: we'll show you a schema
if you're a member of its owning role.

			regards, tom lane
В списке pgsql-general по дате отправления
От: Scott Marlowe
Дата:
От: A. Kretschmer
Дата:
FAQ