Skip to content

Commit 32a9b2e

Browse files
committed
fix a compilation warning
1 parent 852a7ee commit 32a9b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/hooks.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ pathman_rel_pathlist_hook(PlannerInfo *root, RelOptInfo *rel, Index rti, RangeTb
279279

280280
/* Add parent if needed */
281281
if (prel->enable_parent)
282-
append_child_relation(root, rel, rti, rte, i, rte->relid, NULL);
282+
append_child_relation(root, rel, rti, rte, 0, rte->relid, NULL);
283283

284284
/*
285285
* Iterate all indexes in rangeset and append corresponding child

0 commit comments

Comments
 (0)