Pass QueryEnvironment down to EvalPlanQual's EState.
Thomas Munro <tmunro@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execMain.c | modified | +1 −0 |
Discussion
- BUG #15900: `executor could not find named tuplestore` in triggers with transition table and row locks 9 messages · 2019-07-08 → 2019-07-11
- BUG #15720: `executor could not find named tuplestore ABC` in AFTER DELETE trigger referencing OLD TABLE as ABC 6 messages · 2019-03-28 → 2019-07-09