Re: Drop user doesn't drop granted privs?

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Pete Deffendol <peter(dot)deffendol(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Drop user doesn't drop granted privs?
Date: 2006-01-09 16:19:42
Message-ID: c2d9e70e0601090819r4c46acbdw8ef213237127ba2c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/6/06, Pete Deffendol <peter(dot)deffendol(at)gmail(dot)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 ;)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Emi Lu 2006-01-09 16:39:09 Vacuum all tables unders under one schema (not under one database)
Previous Message Ian Harding 2006-01-09 16:04:57 Re: E-mail harvesting on PG lists?