From 18fc5192a631441a73e6a3b911ecb14765140389 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 4 Jan 2017 14:56:37 -0500 Subject: 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. --- src/include/catalog/partition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/catalog/partition.h') 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, -- cgit v1.2.3