]> 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:32 +0000 (21:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jan 2006 21:49:32 +0000 (21:49 +0000)
commite76bb5cfec543cbf9243f66bf020da9058c22aa4
tree5175d1a1aa99b6e1bf2e587190803d42147f0647
parent1937d8d9efcc0444525a8eb1f6fbc11fddb9512d
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