]> 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)
commitce5d04b6463d9f642e30d1f6abf45846e1255be0
tree7533798a41fc9a00f48f901a9cfe1a34476da3b9
parent6212276e4343f729b0152e81824f850d1a21d57e
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