Re: [HACKERS] DROP ROLE dependency tracking ...

2008-12-16 Thread Bruce Momjian
Added to TODO: Allow dropping of a role that has connection rights * http://archives.postgresql.org/pgsql-hackers/2008-05/msg00736.php --- Hans-Juergen Schoenig wrote: > good morning, > > some days ago i

Re: [HACKERS] DROP ROLE dependency tracking ...

2008-12-16 Thread Alvaro Herrera
Bruce Momjian wrote: > 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 dep

Re: [HACKERS] DROP ROLE dependency tracking ...

2008-12-15 Thread Bruce Momjian
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

Re: [HACKERS] DROP ROLE dependency tracking ...

2008-07-14 Thread Bruce Momjian
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

Re: [HACKERS] DROP ROLE dependency tracking ...

2008-05-25 Thread Alvaro Herrera
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

Re: [HACKERS] DROP ROLE dependency tracking ...

2008-05-25 Thread Hans-Juergen Schoenig
Alvaro Herrera wrote: Hans-Juergen Schoenig wrote: test=# create role xy LOGIN; CREATE ROLE test=# grant connect on database test to xy; GRANT test=# drop role xy; ERROR: role "xy" cannot be dropped because some objects depend on it DETAIL: access to database test this is a totally fres

Re: [HACKERS] DROP ROLE dependency tracking ...

2008-05-25 Thread Alvaro Herrera
Hans-Juergen Schoenig wrote: > test=# create role xy LOGIN; > CREATE ROLE > > test=# grant connect on database test to xy; > GRANT > > test=# drop role xy; > ERROR: role "xy" cannot be dropped because some objects depend on it > DETAIL: access to database test > > this is a totally fresh instanc

[HACKERS] DROP ROLE dependency tracking ...

2008-05-24 Thread Hans-Juergen Schoenig
good morning, some days ago i have fallen over an issue which feels more or less like a bug. consider: test=# create role xy LOGIN; CREATE ROLE test=# grant connect on database test to xy; GRANT test=# drop role xy; ERROR: role "xy" cannot be dropped because some objects depend on it DETAI