mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +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:
@ -13151,7 +13151,7 @@ ATExecAttachPartition(List **wqueue, Relation rel, PartitionCmd *cmd)
|
||||
*/
|
||||
partConstraint = list_concat(get_qual_from_partbound(attachRel, rel,
|
||||
cmd->bound),
|
||||
RelationGetPartitionQual(rel, true));
|
||||
RelationGetPartitionQual(rel));
|
||||
partConstraint = (List *) eval_const_expressions(NULL,
|
||||
(Node *) partConstraint);
|
||||
partConstraint = (List *) canonicalize_qual((Expr *) partConstraint);
|
||||
|
Reference in New Issue
Block a user