Re: dropped users appear as numbers in ACL - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: dropped users appear as numbers in ACL
Date
Msg-id Pine.LNX.4.44.0311140109050.17499-100000@peter.localdomain
Whole thread Raw
In response to Re: dropped users appear as numbers in ACL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: dropped users appear as numbers in ACL
List pgsql-admin
Tom Lane writes:

> The reason it's difficult is that users span databases; when you drop a
> user in database A, you have no way of seeing/removing references to him
> that exist in databases B, C, ...
>
> I'm not sure there's any really good answer to this short of changing
> the way that users and databases work, which so far no one has wanted
> to do.

One possibility would be to have an explicit "flush privileges" command
that you can run over a database to clean up after this.  That might also
help to support grant options on groups, which suffer from a similar
can't-look-into-other-databases problem.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: dropped users appear as numbers in ACL
Next
From: Tom Lane
Date:
Subject: Re: dropped users appear as numbers in ACL