EvalPlanQual was thoroughly broken for concurrent update/delete on inheritance

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a8bc265bad278a0abe27905d56102184906a18bf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-05-15T00:34:02Z
Releases: 7.1.2
EvalPlanQual was thoroughly broken for concurrent update/delete on inheritance
trees (mostly my fault).  Repair.  Also fix long-standing bug in ExecReplace:
after recomputing a concurrently updated tuple, we must recheck constraints.
Make EvalPlanQual leak memory with somewhat less enthusiasm than before,
although plugging leaks fully will require more changes than I care to risk
in a dot-release.

Files

PathChange+/−
src/backend/executor/execMain.c modified +203 −145
src/backend/executor/nodeAppend.c modified +35 −15
src/include/nodes/execnodes.h modified +5 −1