| От | Tom Lane |
|---|---|
| Тема | Re: How to drop user if objects depend on it |
| Дата | |
| Msg-id | 24798.1444229951@sss.pgh.pa.us обсуждение |
| Ответ на | Re: How to drop user if objects depend on it ("Andrus" <kobruleht2@hot.ee>) |
| Ответы |
Re: How to drop user if objects depend on it
Re: How to drop user if objects depend on it |
| Список | pgsql-general |
"Andrus" <kobruleht2@hot.ee> writes:
> ALTER DEFAULT PRIVILEGES IN SCHEMA public,firma1 GRANT all ON TABLES TO
> vantaa;
I am not sure that REASSIGN OWNED will get rid of default-privilege
specifiers --- you might have to reverse this step separately.
In general, REASSIGN OWNED has to be done by a role that has privileges
of (is a member of) both the source and target roles. Superusers are
considered members of all roles, so that's how come it works for them.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера