Improve slightly misleading comments in nodeFuncs.c
authorDavid Rowley <drowley@postgresql.org>
Sat, 10 Apr 2021 07:19:45 +0000 (19:19 +1200)
committerDavid Rowley <drowley@postgresql.org>
Sat, 10 Apr 2021 07:19:45 +0000 (19:19 +1200)
commit152d33bccec7176f50be225bdbedf2e6de214e54
treed28382c0c35a909b72e1365361f9e1bad78de345
parent9cae39b8e6a53decb37cce22852bb2e6d0e3f5d3
Improve slightly misleading comments in nodeFuncs.c

There were some comments in nodeFuncs.c that, depending on your
interpretation of the word "result", could lead you to believe that the
comments were badly copied and pasted from somewhere else.  If you thought
of "result" as the return value of the function that the comment is
written in, then you'd be misled.  However, if you'd correctly
interpreted "result" to mean the result type of the given node type,
you'd not have seen any issues.

Here we do a small cleanup to try to prevent any future
misinterpretations.  Per wording suggestion from Tom Lane.

Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/CAApHDvp+Bw=2Qiu5=uXMKfC7gd0+B=4JvexVgGJU=am2g9a1CA@mail.gmail.com
src/backend/nodes/nodeFuncs.c