aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-01-04 14:56:37 -0500
committerRobert Haas <rhaas@postgresql.org>2017-01-04 14:56:37 -0500
commit18fc5192a631441a73e6a3b911ecb14765140389 (patch)
tree2190997858efb4937556e1580a242a23bccc68e1 /src/backend/executor/execMain.c
parentf1b4c771ea74f42447dccaed42ffcdcccf3aa694 (diff)
downloadpostgresql-18fc5192a631441a73e6a3b911ecb14765140389.tar.gz
postgresql-18fc5192a631441a73e6a3b911ecb14765140389.zip
Remove unnecessary arguments from partitioning functions.
RelationGetPartitionQual() and generate_partition_qual() are always called with recurse = true, so we don't need an argument for that. Extracted by me from a larger patch by Amit Langote.
Diffstat (limited to 'src/backend/executor/execMain.c')
-rw-r--r--src/backend/executor/execMain.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index d9ff5fa28bc..ff277d300a8 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -1259,8 +1259,7 @@ InitResultRelInfo(ResultRelInfo *resultRelInfo,
resultRelInfo->ri_projectReturning = NULL;
if (load_partition_check)
resultRelInfo->ri_PartitionCheck =
- RelationGetPartitionQual(resultRelationDesc,
- true);
+ RelationGetPartitionQual(resultRelationDesc);
/*
* The following gets set to NULL unless we are initializing leaf
* partitions for tuple-routing.