Re: dropping a user causes pain (#2) - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: dropping a user causes pain (#2)
Date
Msg-id 3F37C094.2070807@pse-consulting.de
Whole thread Raw
In response to Re: dropping a user causes pain (#2)  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: dropping a user causes pain (#2)
Re: dropping a user causes pain (#2)
List pgsql-hackers
Andrew Dunstan wrote:

>
> I did have a thought that it could be done lazily (on backend startup) 
> on other databases and immediately on the current database. I guess it 
> depends on the cost of checking for such things - wouldn't want to add 
> greatly to startup time.
>
> That would leave a small window of orphanage for existing backends on 
> other databases, but is arguably an improvement on the current situation.
>
> OTOH I'm not sure how much harm this causes, other than aesthetic.
>
Dropping a user could merely set a "dropped" flag to disable login, and 
some VACUUM action could cleanup databases.

Regards,
Andreas




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Windows on SuSE? 7.4
Next
From: Josh Berkus
Date:
Subject: Re: Farewell