pgsql: Remove unnecessary arguments from partitioning functions.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unnecessary arguments from partitioning functions.
Date: 2017-01-04 20:02:08
Message-ID: E1cOrlA-0005wF-Et@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/18fc5192a631441a73e6a3b911ecb14765140389

Modified Files
--------------
src/backend/catalog/partition.c | 16 ++++++++--------
src/backend/commands/tablecmds.c | 2 +-
src/backend/executor/execMain.c | 3 +--
src/backend/optimizer/util/plancat.c | 2 +-
src/include/catalog/partition.h | 2 +-
5 files changed, 12 insertions(+), 13 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Fetter 2017-01-04 20:02:30 Re: pgsql: Update copyright for 2017
Previous Message David Fetter 2017-01-04 19:54:07 Re: pgsql: Update copyright for 2017