Re: dropping a user causes pain (#2)

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: dropping a user causes pain (#2)
Date: 2003-08-11 16:13:08
Message-ID: 3F37C094.2070807@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2003-08-11 16:29:01 Re: Farewell
Previous Message Tom Lane 2003-08-11 15:54:39 Re: Windows on SuSE? 7.4