Re: REVOKE ALL

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: REVOKE ALL
Дата
Msg-id 45DC3541.9070805@archonet.com
обсуждение исходный текст
Ответ на Re: REVOKE ALL  ("David Legault" <legault.david@gmail.com>)
Ответы Re: REVOKE ALL  ("David Legault" <legault.david@gmail.com>)
Список pgsql-general
David Legault wrote:
> In which table pg_* are stored the GRANT options? As I can do a cross-check
> with a SELECT to see if the user has any grants on functions using the
> pg_proc table. At the same time, I need to know exactly the names of the
> functions to be able to REVOKE them which in my opinion, there should be a
> wildcard which enables you to REVOKE everything at once without prior
> knowing the names of the functions.

Check pgfoundry / google for some functions to do just that - there are
plenty out there.

If you want to write your own, the permissions are stored in "proacl" in
pg_proc (and similarly named columns in other tables for other objects).
You may find the information_schema.routine* views simpler to work with
for part of your effort though.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Slow running to_tsvector (tsearch2 in PG 8.2.3)
Следующее
От: "MG"
Дата:
Сообщение: Re: WARNING: some databases have not been vacuumed in 1953945422 transactions