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

From Andrew Dunstan
Subject Re: dropping a user causes pain (#2)
Date
Msg-id 3F380CAD.2090403@dunslane.net
Whole thread Raw
In response to Re: dropping a user causes pain (#2)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: dropping a user causes pain (#2)
List pgsql-hackers
Makes sense, but I think DROP USER should also warn immediately if it 
detects the most common case (I imagine) where the user owns things in 
the current database.

andrew


Bruce Momjian wrote:

>If people want to remove a user, I assume they don't want to keep
>old objects around.
>
>How about if we created a script that goes through all the databases and
>reports items owned by a specific user, or orphaned items not owned by
>anyone?
>
>  
>



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: dropping a user causes pain (#2)
Next
From: Shachar Shemesh
Date:
Subject: Re: sql99 compat list