]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Pass QueryEnvironment down to EvalPlanQual's EState.
authorThomas Munro <tmunro@postgresql.org>
Tue, 9 Jul 2019 22:15:43 +0000 (10:15 +1200)
committerThomas Munro <tmunro@postgresql.org>
Tue, 9 Jul 2019 22:15:43 +0000 (10:15 +1200)
commitabbb2e14321313374c5fff3d3ecb626d98ee353e
treeffe8a0cf6606bc643bd0b5e8389bba2528577de2
parentae0a2945b45ce63b7945284a7ddbb3e1c286fe95
Pass QueryEnvironment down to EvalPlanQual's EState.

Otherwise the executor can't see trigger transition tables during
EPQ evaluation.  Fixes bug #15900 and almost certainly also #15720.
Back-patch to 10, where trigger transition tables landed.

Author: Alex Aktsipetrov
Reviewed-by: Thomas Munro, Tom Lane
Discussion: https://postgr.es/m/15900-bc482754fe8d7415%40postgresql.org
Discussion: https://postgr.es/m/15720-38c2b29e5d720187%40postgresql.org
src/backend/executor/execMain.c