Re: Postgre7.0.2 drop user bug

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Postgre7.0.2 drop user bug
Дата
Msg-id
7628.971928176@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
RE: Postgre7.0.2 drop user bug Matthew <matt@ctlno.com>
Re: Postgre7.0.2 drop user bug Tom Lane <tgl@sss.pgh.pa.us>
Matthew  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 по дате отправления
От: Hiroshi Inoue
Дата:
От: Tom Lane
Дата:
FAQ