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 7628.971928176@sss.pgh.pa.us
Whole thread Raw
In response to Postgre7.0.2 drop user bug  (Matthew <matt@ctlno.com>)
List pgsql-hackers
Matthew <matt@ctlno.com> writes:
>> Anyway, any comments?  Can anyone else repeat this? I hope this is easy to
>> fix.  I guess the quick fix is to disallow multiple users to be specified 
>> in the drop user command.

The correct fix is CommandCounterIncrement() in the DROP USER loop,
so that later iterations can see the changes made by prior iterations.
Without, death and destruction ensue if any of the users are in the
same groups, because the later AlterGroup calls fail.

Fixed in current and back-patched for 7.0.3.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: time stops within transaction
Next
From: Tom Lane
Date:
Subject: Re: time stops within transaction