pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Clean up a few parallelism-related things that pgindent wants to
Date: Wed, 27 Apr 2016 15:33:49 +0000
Message-ID: <E1avRTJ-0001hQ-1O@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1avRTJ-0001hQ-1O@gemulon.postgresql.org>
Permalink:  ../E1avRTJ-0001hQ-1O@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1avRTJ-0001hQ-1O@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Clean up a few parallelism-related things that pgindent wants to
  In-Reply-To: <E1avRTJ-0001hQ-1O@gemulon.postgresql.org>
  References: <E1avRTJ-0001hQ-1O@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox