Re: Granting Privleges on All Tables in One Comand?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Granting Privleges on All Tables in One Comand?
Дата
Msg-id
1403.1137043149@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: Granting Privleges on All Tables in One Comand? "Larry Rosenman" <lrosenman@pervasive.com>
Bruce Momjian  writes:
> Adam wrote:
>> Is it possible to 'GRANT SELECT ON ALL TABLES TO User' in 1 command ?
>> 
>> I saw the question in 2003 and wonder if it's still true.

> Still true, but on the TODO list:

Also, you can do it today by making a plpgsql function that iterates
through all the tables and does GRANTs.  There are examples in the
mailing list archives.  (The TODO item would probably have been done
by now if it weren't so easy to work around it.)

			regards, tom lane
В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: Michael Fuhr
Дата:
FAQ