Re: Minor comment update for DELETE - Mailing list pgsql-patches

From Tom Lane
Subject Re: Minor comment update for DELETE
Date
Msg-id 6112.1132326407@sss.pgh.pa.us
Whole thread Raw
In response to Re: Minor comment update for DELETE  (Neil Conway <neilc@samurai.com>)
List 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 by date:

Previous
From: ron limson
Date:
Subject: unsubscribe
Next
From: Alvaro Herrera
Date:
Subject: DROP OWNED again