Skip to content

Commit ea47b26

Browse files
committed
Fix pg_hint_plan for 1C integration
1 parent 731ceb6 commit ea47b26

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy