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 20090529145037.GA10092@alvh.no-ip.org
Whole thread Raw
In response to 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:
> Alvaro Herrera ha scritto:

>>> 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?

> No, I didn't because the tables weren't owned by the user I wanted to
> drop, but by another one.

DROP OWNED drops GRANTs too.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Converting each item in array to a query result row
Next
From: Geoffrey
Date:
Subject: Re: pg_usleep() location