Skip to content

Commit 3ede4fa

Browse files
committed
Merge master, resolve conflicts
2 parents 2f22ff3 + 77ee808 commit 3ede4fa

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

hooks.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,11 @@ pathman_rel_pathlist_hook(PlannerInfo *root, RelOptInfo *rel, Index rti, RangeTb
200200
dsm_arr = (Oid *) dsm_array_get_pointer(&prel->children);
201201
ranges = list_make1_int(make_irange(0, prel->children_count - 1, false));
202202

203+
/* Make wrappers over restrictions and collect final rangeset */
203204
context.prel = prel;
204205
context.econtext = NULL;
205206
context.hasLeast = false;
206207
context.hasGreatest = false;
207-
208-
/* Make wrappers over restrictions and collect final rangeset */
209208
wrappers = NIL;
210209
foreach(lc, rel->baserestrictinfo)
211210
{

pg_pathman.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,7 @@ walk_expr_tree(Expr *expr, WalkerContext *context)
879879
result->args = NIL;
880880
result->rangeset = list_make1_irange(make_irange(0, context->prel->children_count - 1, true));
881881
result->paramsel = 1.0;
882+
882883
return result;
883884
}
884885
}
@@ -1452,9 +1453,7 @@ handle_arrexpr(const ScalarArrayOpExpr *expr, WalkerContext *context)
14521453
}
14531454

14541455
if (arraynode && IsA(arraynode, Param))
1455-
{
14561456
result->paramsel = DEFAULT_INEQ_SEL;
1457-
}
14581457

14591458
handle_arrexpr_return:
14601459
result->rangeset = list_make1_irange(make_irange(0, prel->children_count - 1, true));

0 commit comments

Comments
 (0)