pgsql: Pass QueryEnvironment down to EvalPlanQual's EState.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Pass QueryEnvironment down to EvalPlanQual's EState.
Date: 2019-07-09 22:17:57
Message-ID: E1hkyQv-0001Dk-0F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9509173d24309b4ef46790921c07dc4084b6bc62

Modified Files
--------------
src/backend/executor/execMain.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-07-09 22:18:22 pgsql: Pass QueryEnvironment down to EvalPlanQual's EState.
Previous Message Thomas Munro 2019-07-09 22:17:43 pgsql: Pass QueryEnvironment down to EvalPlanQual's EState.