Re: DROP ROLE dependency tracking ... - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: DROP ROLE dependency tracking ...
Date
Msg-id 200807150336.m6F3a0h14863@momjian.us
Whole thread Raw
In response to Re: DROP ROLE dependency tracking ...  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera wrote:
> Hans-Juergen Schoenig wrote:
> 
> > when thinking of REASSIGNED OWNED people tend to think about tables  
> > rather than about CONNECT rights.
> > i would suggest to make DROP ROLE just kill the role unless there is a  
> > real object depending on it.
> > i would not see a permission to be an object. what do you think?
> 
> Yes, this might make some sense.  (Keep in mind that db CONNECT
> privileges were invented after REASSIGN OWNED).  Perhaps we could make
> exceptions -- in which case it would be good to investigate which
> exceptions we need (i.e. for all object types that we support, which
> ones we should be caring about and which ones we should ignore).
> 
> I'm stuck in Canuckistan for a week still, so I expect your detailed
> proposal by when I get back home ;-)

Where are we on this issue?  The original issue was CONNECT priviledges
prevented the role from being dropped.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: TODO item: Have psql show current values for a sequence
Next
From: Simon Riggs
Date:
Subject: Re: [PATCHES] WIP: executor_hook for pg_stat_statements