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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Clean up a few parallelism-related things that pgindent wants to
Дата
Msg-id E1avRTJ-0001hQ-1O@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Remove mergeHyperLogLog.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Update typedefs.list file in preparation for pgindent run