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

Commitf6dd5a0

Browse files
committed
bugfix: copy parent's joininfo to child RelOptInfo
1 parentb306264 commitf6dd5a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/pg_pathman.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,11 @@ append_child_relation(PlannerInfo *root, Relation parent_relation,
340340
/* Now append 'appinfo' to 'root->append_rel_list' */
341341
root->append_rel_list=lappend(root->append_rel_list,appinfo);
342342

343+
/* Adjust join quals for this child */
344+
child_rel->joininfo= (List*)adjust_appendrel_attrs(root,
345+
(Node*)parent_rel->joininfo,
346+
appinfo);
347+
343348
/* Adjust target list for this child */
344349
adjust_rel_targetlist_compat(root,child_rel,parent_rel,appinfo);
345350

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp