1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

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.
This commit is contained in:
Robert Haas
2017-01-04 14:56:37 -05:00
parent f1b4c771ea
commit 18fc5192a6
5 changed files with 12 additions and 13 deletions

View File

@ -1228,7 +1228,7 @@ get_relation_constraints(PlannerInfo *root,
}
/* Append partition predicates, if any */
pcqual = RelationGetPartitionQual(relation, true);
pcqual = RelationGetPartitionQual(relation);
if (pcqual)
{
/*