pgsql: Fix under-parenthesized macro definitions

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix under-parenthesized macro definitions
Date: 2019-09-13 19:30:30
Message-ID: E1i8rH4-00041P-So@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ce5d04b6463d9f642e30d1f6abf45846e1255be0

Modified Files
--------------
src/include/nodes/parsenodes.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2019-09-13 19:31:32 Re: pgsql: Fix progress reporting of CLUSTER / VACUUM FULL
Previous Message Alvaro Herrera 2019-09-13 18:52:41 Re: pgsql: Fix progress reporting of CLUSTER / VACUUM FULL