diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-01-04 14:56:37 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-01-04 14:56:37 -0500 |
commit | 18fc5192a631441a73e6a3b911ecb14765140389 (patch) | |
tree | 2190997858efb4937556e1580a242a23bccc68e1 /src/backend/executor/execMain.c | |
parent | f1b4c771ea74f42447dccaed42ffcdcccf3aa694 (diff) | |
download | postgresql-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.c | 3 |
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. |