]> granicus.if.org Git - postgresql/commit
Fix under-parenthesized macro definitions
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 13 Sep 2019 19:26:55 +0000 (16:26 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 13 Sep 2019 19:26:55 +0000 (16:26 -0300)
commit00f167bed782363b4fe05ecd870155eb84336a8b
tree2bc6dcf010848fa74622e07759f8395beae1c21f
parent835646503d5d7782d890b7ad5039e64c08e2b89d
Fix under-parenthesized macro definitions

Lack of parens in the definitions could cause a statement using these
macros to have unexpected semantics.  In current code no bug is
apparent, but best to fix the definitions to avoid problems down the
line.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/19795.1568400476@sss.pgh.pa.us
src/include/nodes/parsenodes.h