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:
@ -1228,7 +1228,7 @@ get_relation_constraints(PlannerInfo *root,
|
||||
}
|
||||
|
||||
/* Append partition predicates, if any */
|
||||
pcqual = RelationGetPartitionQual(relation, true);
|
||||
pcqual = RelationGetPartitionQual(relation);
|
||||
if (pcqual)
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user