pgsql: Assorted cosmetic cleanup of run-time-partition-pruning code.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Assorted cosmetic cleanup of run-time-partition-pruning code.
Date: 2018-06-10 22:24:39
Message-ID: E1fS8lL-0002ll-2P@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Assorted cosmetic cleanup of run-time-partition-pruning code.

Use "subplan" rather than "subnode" to refer to the child plans of
a partitioning Append; this seems a bit more specific and hence
clearer. Improve assorted comments. No non-cosmetic changes.

David Rowley and Tom Lane

Discussion: https://postgr.es/m/CAFj8pRBjrufA3ocDm8o4LPGNye9Y+pm1b9kCwode4X04CULG3g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/321f648a312bd188b7a5c33a0548a57f45dfbf42

Modified Files
--------------
src/backend/executor/execPartition.c | 163 +++++++++++++++++------------------
src/backend/nodes/copyfuncs.c | 2 +-
src/backend/nodes/outfuncs.c | 4 +-
src/backend/nodes/readfuncs.c | 2 +-
src/backend/partitioning/partprune.c | 68 +++++++--------
src/include/executor/execPartition.h | 48 ++++++-----
src/include/nodes/plannodes.h | 16 ++--
7 files changed, 147 insertions(+), 156 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-06-11 00:28:25 pgsql: Fix a couple of bugs with replication slot advancing feature
Previous Message Tom Lane 2018-06-10 20:30:29 pgsql: Relocate partition pruning structs to a saner place.