| От | Stephen Frost |
|---|---|
| Тема | Re: REVOKE from all tables ... |
| Дата | |
| Msg-id | 20050809132015.GW6026@ns.snowman.net обсуждение |
| Ответ на | REVOKE from all tables ... ("Marc G. Fournier" <scrappy@postgresql.org>) |
| Ответы |
Re: REVOKE from all tables ...
Re: REVOKE from all tables ... |
| Список | pgsql-admin |
* Marc G. Fournier (scrappy@postgresql.org) wrote:
> Is there a way of REVOKEing privileges on all tables in a database? I've
> checked the REVOKE man page, and there doesn't appear to be, but I figured
> I'd double check to make sure ...
I actually wrote a little perl script which allows you to pass in a
regexp to match names against, allows for limitation to a specific
schema, and handles tables, views, sequences and functions. I'll see
about making it available (it's not very big). Of course, I think it'd
be nice to have some functions in core that did the same thing; or maybe
some ability in psql to do it.
Stephen
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера