Re: I can't drop a user if I don't drop his grants beforehand??????????????????

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nico Sabbi <nsabbi(at)officinedigitali(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: I can't drop a user if I don't drop his grants beforehand??????????????????
Date: 2009-05-22 16:24:50
Message-ID: 26625.1243009490@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nico Sabbi <nsabbi(at)officinedigitali(dot)it> writes:
> i can't believe my eyes. Why on earth I can't drop a user without
> previously revoking his privileges?

Yeah, it's a known limitation. The reason it's not implemented is that
some of the privileges may be in other databases besides the particular
one you're connected to, and the backend hasn't got any way to get at
those databases to remove the entries.

Maybe someday it'll get fixed, but don't hold your breath.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nico Sabbi 2009-05-22 16:34:18 Re: I can't drop a user if I don't drop his grants beforehand??????????????????
Previous Message Tom Lane 2009-05-22 16:05:27 Re: How to update stavaluesN columns in pg_statistics (type anyarry)