Re: I can't drop a user if I don't drop his grants beforehand?????????????????? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: I can't drop a user if I don't drop his grants beforehand??????????????????
Date
Msg-id 20090522195626.GG4466@alvh.no-ip.org
Whole thread Raw
In response to I can't drop a user if I don't drop his grants beforehand??????????????????  (Nico Sabbi <nsabbi@officinedigitali.it>)
Responses Re: I can't drop a user if I don't drop his grants beforehand??????????????????  (Nico Sabbi <nsabbi@officinedigitali.it>)
List pgsql-general
Nico Sabbi wrote:
> Hi,
> i can't believe my eyes. Why on earth I can't drop a user without
> previously revoking his privileges?
> This is really _crazy_ in my opinion.
>
> I'm not speaking of object ownership, but of GRANTs.

As Tom says, it's a known limitation.  Did you try REASSIGN OWNED and/or DROP
OWNED?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Brandon Metcalf
Date:
Subject: quoting values magic
Next
From: "Joshua D. Drake"
Date:
Subject: Re: question about SSIS