mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +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:
@ -1259,8 +1259,7 @@ InitResultRelInfo(ResultRelInfo *resultRelInfo,
|
||||
resultRelInfo->ri_projectReturning = NULL;
|
||||
if (load_partition_check)
|
||||
resultRelInfo->ri_PartitionCheck =
|
||||
RelationGetPartitionQual(resultRelationDesc,
|
||||
true);
|
||||
RelationGetPartitionQual(resultRelationDesc);
|
||||
/*
|
||||
* The following gets set to NULL unless we are initializing leaf
|
||||
* partitions for tuple-routing.
|
||||
|
Reference in New Issue
Block a user