pgsql: Repair "Halloween problem" in EvalPlanQual: a tuple that's been

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Repair "Halloween problem" in EvalPlanQual: a tuple that's been
Date: 2006-01-12 21:49:19
Message-ID: 20060112214919.389569DCE38@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Repair "Halloween problem" in EvalPlanQual: a tuple that's been inserted by
our own command (or more generally, xmin = our xact and cmin >= current
command ID) should not be seen as good. Else we may try to update rows
we already updated. This error was inserted last August while fixing the
even bigger problem that the old coding wouldn't see *any* tuples inserted
by our own transaction as good. Per report from Euler Taveira de Oliveira.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
trigger.c (r1.177.4.2 -> r1.177.4.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c.diff?r1=1.177.4.2&r2=1.177.4.3)
pgsql/src/backend/executor:
execMain.c (r1.241.4.1 -> r1.241.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c.diff?r1=1.241.4.1&r2=1.241.4.2)
pgsql/src/include/executor:
executor.h (r1.115.4.1 -> r1.115.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/executor.h.diff?r1=1.115.4.1&r2=1.115.4.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-01-12 21:49:33 pgsql: Repair "Halloween problem" in EvalPlanQual: a tuple that's been
Previous Message Tom Lane 2006-01-12 21:49:08 pgsql: Repair "Halloween problem" in EvalPlanQual: a tuple that's been