Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit72b5267

Browse files
committed
Pass QueryEnvironment down to EvalPlanQual's EState.
Otherwise the executor can't see trigger transition tables duringEPQ evaluation. Fixes bug #15900 and almost certainly also #15720.Back-patch to 10, where trigger transition tables landed.Author: Alex AktsipetrovReviewed-by: Thomas Munro, Tom LaneDiscussion:https://postgr.es/m/15900-bc482754fe8d7415%40postgresql.orgDiscussion:https://postgr.es/m/15720-38c2b29e5d720187%40postgresql.org
1 parenta5407d1 commit72b5267

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/executor/execMain.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3112,6 +3112,7 @@ EvalPlanQualStart(EPQState *epqstate, EState *parentestate, Plan *planTree)
31123112
estate->es_snapshot=parentestate->es_snapshot;
31133113
estate->es_crosscheck_snapshot=parentestate->es_crosscheck_snapshot;
31143114
estate->es_range_table=parentestate->es_range_table;
3115+
estate->es_queryEnv=parentestate->es_queryEnv;
31153116
estate->es_plannedstmt=parentestate->es_plannedstmt;
31163117
estate->es_junkFilter=parentestate->es_junkFilter;
31173118
estate->es_output_cid=parentestate->es_output_cid;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp