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

Commitfd1eaf9

Browse files
author
Etsuro Fujita
committed
Fix testing of parallel-safety of scan/join target.
In commit960df2a ("Correctly assess parallel-safety of tlists whenSRFs are used."), the testing of scan/join target was done incorrectly,which caused a plan-quality problem. Backpatch through to v11 wherethe aforementioned commit went in, since this is a regression from v10.Author: Etsuro FujitaReviewed-by: Robert Haas and Tom LaneDiscussion:https://postgr.es/m/5C75303E.8020303@lab.ntt.co.jp
1 parente7adda8 commitfd1eaf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/optimizer/plan/planner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@ grouping_planner(PlannerInfo *root, bool inheritance_update,
19921992
{
19931993
scanjoin_target=make_group_input_target(root,final_target);
19941994
scanjoin_target_parallel_safe=
1995-
is_parallel_safe(root, (Node*)grouping_target->exprs);
1995+
is_parallel_safe(root, (Node*)scanjoin_target->exprs);
19961996
}
19971997
else
19981998
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp