pgsql: Parenthesize macro arguments safely.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Parenthesize macro arguments safely.
Date: 2007-09-22 04:41:19
Message-ID: 20070922044119.50D36753E4C@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Parenthesize macro arguments safely. I see no bug among the current
uses of PG_DETOAST_DATUM_SLICE, but it's clearly trouble waiting to
happen.

Modified Files:
--------------
pgsql/src/include:
fmgr.h (r1.53 -> r1.54)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/fmgr.h?r1=1.53&r2=1.54)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-09-22 05:35:42 pgsql: Fix bogus calculation of potential output string length in
Previous Message Tom Lane 2007-09-22 04:40:03 pgsql: Although I'd misdiagnosed the reason for the recent failures on