Make node output prefix match node structure name
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 15 Sep 2021 14:35:41 +0000 (16:35 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 15 Sep 2021 14:35:41 +0000 (16:35 +0200)
commite58136069687b9cf29c27281e227ac397d72141d
tree19b1d6d281cf3095fd9b571e385bbfac3e2fa520
parent851ff9335742d22a3cb1a5ab789208e4ee01dcef
Make node output prefix match node structure name

In most cases, the prefix string in a node output is the upper case of
the node structure name, e.g., MergeAppend -> MERGEAPPEND.  There were
a few exceptions that for either no apparent reason or perhaps minor
aesthetic reasons deviated from this.  In order to simplify this and
perhaps allow automatic generation without having to deal with
exception cases, make them all match.

Discussion: https://www.postgresql.org/message-id/c091e5cd-45f8-69ee-6a9b-de86912cc7e7@enterprisedb.com
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c