Re: Minor comment update for DELETE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Minor comment update for DELETE
Дата
Msg-id 6112.1132326407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Minor comment update for DELETE  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> BTW, I noticed the following comment a few lines down in execMain.c
> (circa line 1564):

>  * note: we can't run UPDATE queries with transactions
>  * off because UPDATEs are actually INSERTs and our
>  * scan will mistakenly loop forever, updating the tuple
>  * it just inserted..    This should be fixed but until it
>  * is, we don't want to get stuck in an infinite loop
>  * which corrupts your database..

> This seems obsolete; I'll remove it shortly barring any objections.

No, this is still correct, note the bootstrap-mode test at the start of
the function.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: ron limson
Дата:
Сообщение: unsubscribe
Следующее
От: Alvaro Herrera
Дата:
Сообщение: DROP OWNED again