Remove unnecessary arguments from partitioning functions.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/partition.c | modified | +8 −8 |
| src/backend/commands/tablecmds.c | modified | +1 −1 |
| src/backend/executor/execMain.c | modified | +1 −2 |
| src/backend/optimizer/util/plancat.c | modified | +1 −1 |
| src/include/catalog/partition.h | modified | +1 −1 |