Fix under-parenthesized macro definitions

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 00f167bed782363b4fe05ecd870155eb84336a8b
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-09-13T19:26:55Z
Releases: 9.6.16
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

Files

PathChange+/−
src/include/nodes/parsenodes.h modified +1 −1

Discussion

Cited messages not in the archive: 19795.1568400476@sss.pgh.pa.us