]> granicus.if.org Git - postgresql/commit
Clean up a few parallelism-related things that pgindent wants to mangle.
authorRobert Haas <rhaas@postgresql.org>
Wed, 27 Apr 2016 15:29:45 +0000 (11:29 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 27 Apr 2016 15:29:45 +0000 (11:29 -0400)
commit8126eaee2fed7cbc4e9fd6ba8713977ccacd77fe
tree52a5e65eb79b7a4468beba734788c86a54fa1c7c
parent360ca27a9b9793f3939c9f70de77c1272a110362
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.
src/backend/executor/execParallel.c
src/backend/nodes/.nodeFuncs.c.swp [new file with mode: 0644]
src/backend/nodes/nodeFuncs.c