Privileges

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Privileges
Дата
Msg-id 1271712459.8305.20379.camel@ebony
обсуждение исходный текст
Ответы Re: Privileges
Список pgsql-hackers
There is a command to set privileges

  GRANT SELECT ON ALL TABLES IN SCHEMA foo TO PUBLIC;

and a command to set default privileges

  ALTER DEFAULT PRIVILEGES IN SCHEMA foo
  GRANT SELECT ON TABLES TO PUBLIC;

In the first command the ALL is required, whereas in the second command
the ALL must be absent.

ISTM that the ALL should be optional in both cases.
Same thing is true for FUNCTIONS and SEQUENCES.

Both options are new in 9.0.

Any objections to implementing this simple patch?

--
 Simon Riggs           www.2ndQuadrant.com

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Thoughts on pg_hba.conf rejection
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: shared_buffers documentation