Re: Postgre7.0.2 drop user bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Postgre7.0.2 drop user bug
Date
Msg-id 8890.971966024@sss.pgh.pa.us
Whole thread Raw
In response to RE: Postgre7.0.2 drop user bug  (Matthew <matt@ctlno.com>)
List pgsql-hackers
Matthew <matt@ctlno.com> writes:
>> The correct fix is CommandCounterIncrement() in the DROP USER loop,
>> so that later iterations can see the changes made by prior iterations.

> Since postgre now suppport referential integrity and cascading deletes,
> wouldn't it make more sense to use that code to manage the relationship
> between pg_user and pg_group (and probably a wealth of other system tables),

Dunno if it's worth the trouble to change.  Certainly this particular
bug would still be a bug, whether the cascaded deletion is done "by hand"
or not. 
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql/doc (FAQ_MSWIN INSTALL_MSWIN)
Next
From: Peter Eisentraut
Date:
Subject: Re: Solaris FAQ