Re: Drop user doesn't drop granted privs? - Mailing list pgsql-general

From Jaime Casanova
Subject Re: Drop user doesn't drop granted privs?
Date
Msg-id c2d9e70e0601090819r4c46acbdw8ef213237127ba2c@mail.gmail.com
Whole thread Raw
In response to Drop user doesn't drop granted privs?  (Pete Deffendol <peter.deffendol@gmail.com>)
List 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 by date:

Previous
From: Ian Harding
Date:
Subject: Re: E-mail harvesting on PG lists?
Next
From: Assad Jarrahian
Date:
Subject: Re: userdefined types