]> 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:49:41 +0000 (21:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 21:49:41 +0000 (21:49 +0000)
commita6cc7db9a67663d59ceb6328d2b0ccea7b384ef6
tree4c805f909e482c2c9165ef25a0059fb74d2285eb
parent158c7f32b497af31943162250b548897a797be72
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