]> granicus.if.org Git - postgresql/commit
Repair "Halloween problem" in EvalPlanQual: a tuple that's been inserted by
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 21:48:53 +0000 (21:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 21:48:53 +0000 (21:48 +0000)
commit25b9b1b0425910a8503979ddcd974a0a32998791
treefa36e04bf52b190be04d276556c5d7e5e1743bea
parentdb0558c11347ad27a032e6efed509a6e99b52e67
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.
src/backend/commands/trigger.c
src/backend/executor/execMain.c
src/include/executor/executor.h