]> 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)
commit83c2c97114de330dc0c1a11f0edfe0f9bf116614
treef6d4e86cc457a4463a932de5c3622ada8f58e899
parent9064cc139d10d6e45a370dd8761a02f7e7da36f4
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