Thread: pgsql: Repair "Halloween problem" in EvalPlanQual: a tuple that's been
pgsql: Repair "Halloween problem" in EvalPlanQual: a tuple that's been
From
tgl@postgresql.org (Tom Lane)
Date:
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. Modified Files: -------------- pgsql/src/backend/commands: trigger.c (r1.198 -> r1.199) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c.diff?r1=1.198&r2=1.199) pgsql/src/backend/executor: execMain.c (r1.264 -> r1.265) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c.diff?r1=1.264&r2=1.265) pgsql/src/include/executor: executor.h (r1.123 -> r1.124) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/executor.h.diff?r1=1.123&r2=1.124)