Re: Drop user doesn't drop granted privs?

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: Drop user doesn't drop granted privs?
Дата
Msg-id c2d9e70e0601090819r4c46acbdw8ef213237127ba2c@mail.gmail.com
обсуждение исходный текст
Ответ на Drop user doesn't drop granted privs?  (Pete Deffendol <peter.deffendol@gmail.com>)
Список pgsql-general
On 1/6/06, Pete Deffendol <peter.deffendol@gmail.com> wrote:
> Correct me if I'm wrong, but it seems that PostgreSQL 7.4 does not remove a
> user's privileges on tables when that user is dropped.  The privileges are
> still showing up if I do a \z in psql, but with the SYSID instead of the
> username (obviously, since the username doesn't exist.)  Is there an easy
> way to remove the privileges, either at the same time a user is dropped, or
> afterwards?
>
> Pete
>
>

you haveto create a user with that SYSID, the REVOKE the privileges
and the drop the user...

8.1 is better in this area...

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

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

Предыдущее
От: Ian Harding
Дата:
Сообщение: Re: E-mail harvesting on PG lists?
Следующее
От: Assad Jarrahian
Дата:
Сообщение: Re: userdefined types