summaryrefslogtreecommitdiff
path: root/src/include/catalog/partition.h
diff options
context:
space:
mode:
authorRobert Haas2017-01-04 19:56:37 +0000
committerRobert Haas2017-01-04 19:56:37 +0000
commit18fc5192a631441a73e6a3b911ecb14765140389 (patch)
tree2190997858efb4937556e1580a242a23bccc68e1 /src/include/catalog/partition.h
parentf1b4c771ea74f42447dccaed42ffcdcccf3aa694 (diff)
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/include/catalog/partition.h')
-rw-r--r--src/include/catalog/partition.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/catalog/partition.h b/src/include/catalog/partition.h
index 2a9bd48fdff..1c3c4d6ac36 100644
--- a/src/include/catalog/partition.h
+++ b/src/include/catalog/partition.h
@@ -77,7 +77,7 @@ extern bool partition_bounds_equal(PartitionKey key,
extern void check_new_partition_bound(char *relname, Relation parent, Node *bound);
extern Oid get_partition_parent(Oid relid);
extern List *get_qual_from_partbound(Relation rel, Relation parent, Node *bound);
-extern List *RelationGetPartitionQual(Relation rel, bool recurse);
+extern List *RelationGetPartitionQual(Relation rel);
/* For tuple routing */
extern PartitionDispatch *RelationGetPartitionDispatchInfo(Relation rel,