DROP PRIVILEGES OWNED BY

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема DROP PRIVILEGES OWNED BY
Дата
Msg-id 548E2EBC.6040401@joh.to
обсуждение исходный текст
Ответы Re: DROP PRIVILEGES OWNED BY  (Michael Paquier <michael.paquier@gmail.com>)
Re: DROP PRIVILEGES OWNED BY  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
Hi,

This week I had a problem where I wanted to drop only the privileges a
certain role had in the system, while keeping all the objects.  I
couldn't figure out a reasonable way to do that, so I've attached a
patch for this to this email.  Please consider it for inclusion into
9.5.  The syntax is:

   DROP PRIVILEGES OWNED BY role [, ...]

I at some point decided to implement it as a new command instead of
changing DropOwnedStmt, and I think that might have been a mistake.  It
might have made more sense to instead teach DROP OWNED to accept a
specification of which things to drop.  But the proposal is more
important than such details, I think.


.marko

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_basebackup vs. Windows and tablespaces
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: DROP PRIVILEGES OWNED BY