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

Commit87b9e42

Browse files
committed
[refer #PGPRO-3742] Fix build at PG-11
1 parent6c6d1fb commit87b9e42

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

‎vops_fdw.c‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,8 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
14021402
fpinfo->total_cost=total_cost;
14031403

14041404
/* Create and add foreign path to the grouping relation. */
1405-
grouppath=create_foreign_upper_path(root,
1405+
#ifPG_VERSION_NUM>=120000
1406+
grouppath=create_foreign_upper_path(root,
14061407
grouped_rel,
14071408
grouped_rel->reltarget,
14081409
rows,
@@ -1411,6 +1412,18 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
14111412
NIL,/* no pathkeys */
14121413
NULL,
14131414
NIL);/* no fdw_private */
1415+
#else
1416+
grouppath=create_foreignscan_path(root,
1417+
grouped_rel,
1418+
grouped_rel->reltarget,
1419+
rows,
1420+
startup_cost,
1421+
total_cost,
1422+
NIL,/* no pathkeys */
1423+
grouped_rel->lateral_relids,
1424+
NULL,
1425+
NIL);/* no fdw_private */
1426+
#endif
14141427

14151428
/* Add generated path into grouped_rel by add_path(). */
14161429
add_path(grouped_rel, (Path*)grouppath);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp