Re: Schemas and access

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Schemas and access
Дата
Msg-id 14504.1056321677@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Schemas and access  (felix-lists@crowfix.com)
Список pgsql-general
felix-lists@crowfix.com writes:
>     joebob=> select * from xyzzy.plugh;
>     ERROR:  xyzzy: permission denied
> It sure looks like the schema itself is invisible to MaryJo, but
> MaryJo can run \dt xyzzy.* perfectly fine.

You need to grant USAGE permission on the schema to MaryJo.

We've seen this mistake often enough that I wonder if maybe schemas
should default to granting USAGE permission to public ...

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: Schemas and access
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Aggregate functions on ordered data?