pgsql: Clean up a few parallelism-related things that pgindent wants to

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up a few parallelism-related things that pgindent wants to
Date: 2016-04-27 15:33:49
Message-ID: E1avRTJ-0001hQ-1O@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Clean up a few parallelism-related things that pgindent wants to mangle.

In nodeFuncs.c, pgindent wants to introduce spurious indentation into
the definitions of planstate_tree_walker and planstate_walk_subplans.
Fix that by spreading the definition out across several lines, similar
to what is already done for other walker functions in that file.

In execParallel.c, in the definition of SharedExecutorInstrumentation,
pgindent wants to insert more whitespace between the type name and the
member name. That causes it to mangle comments later on the line. Fix
by moving the comments out of line. Now that we have a bit more room,
add some more details that may be useful to the next person reading
this code.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8126eaee2fed7cbc4e9fd6ba8713977ccacd77fe

Modified Files
--------------
src/backend/executor/execParallel.c | 27 +++++++++++++++++++++------
src/backend/nodes/.nodeFuncs.c.swp | Bin 0 -> 122880 bytes
src/backend/nodes/nodeFuncs.c | 8 ++++++--
3 files changed, 27 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-04-27 15:51:07 pgsql: Update typedefs.list file in preparation for pgindent run
Previous Message Robert Haas 2016-04-27 14:56:44 pgsql: Remove mergeHyperLogLog.