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

Commitea47b26

Browse files
committed
Fix pg_hint_plan for 1C integration
1 parent731ceb6 commitea47b26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎contrib/pg_hint_plan/core.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ set_append_rel_pathlist(PlannerInfo *root, RelOptInfo *rel,
181181
* if we have zero or one live subpath due to constraint exclusion.)
182182
*/
183183
if (subpaths_valid)
184-
add_path(rel, (Path*)create_append_path(rel,subpaths,NULL,0));
184+
add_path(rel, (Path*)create_append_path(rel,subpaths,NULL,false,NIL,0));
185185

186186
/*
187187
* Consider an append of partial unordered, unparameterized partial paths.
@@ -207,7 +207,7 @@ set_append_rel_pathlist(PlannerInfo *root, RelOptInfo *rel,
207207
Assert(parallel_workers>0);
208208

209209
/* Generate a partial append path. */
210-
appendpath=create_append_path(rel,partial_subpaths,NULL,
210+
appendpath=create_append_path(rel,partial_subpaths,NULL, false,NIL,
211211
parallel_workers);
212212
add_partial_path(rel, (Path*)appendpath);
213213
}
@@ -260,7 +260,7 @@ set_append_rel_pathlist(PlannerInfo *root, RelOptInfo *rel,
260260

261261
if (subpaths_valid)
262262
add_path(rel, (Path*)
263-
create_append_path(rel,subpaths,required_outer,0));
263+
create_append_path(rel,subpaths,required_outer,false,NIL,0));
264264
}
265265
}
266266

@@ -1270,7 +1270,7 @@ mark_dummy_rel(RelOptInfo *rel)
12701270
rel->partial_pathlist=NIL;
12711271

12721272
/* Set up the dummy path */
1273-
add_path(rel, (Path*)create_append_path(rel,NIL,NULL,0));
1273+
add_path(rel, (Path*)create_append_path(rel,NIL,NULL,false,NIL,0));
12741274

12751275
/* Set or update cheapest_total_path and related fields */
12761276
set_cheapest(rel);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp