We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54dd048 commit de5be1dCopy full SHA for de5be1d
pg_pathman.c
@@ -311,8 +311,7 @@ static void
311
handle_modification_query(Query *parse)
312
{
313
PartRelationInfo *prel;
314
- List *ranges,
315
- *wrappers = NIL;
+ List *ranges;
316
RangeTblEntry *rte;
317
WrapperNode *wrap;
318
Expr *expr;
@@ -336,7 +335,6 @@ handle_modification_query(Query *parse)
336
335
337
/* Parse syntax tree and extract partition ranges */
338
wrap = walk_expr_tree(expr, prel);
339
- wrappers = lappend(wrappers, wrap);
340
ranges = irange_list_intersect(ranges, wrap->rangeset);
341
342
/* If only one partition is affected then substitute parent table with partition */
0 commit comments