pgsql: In GCC-based builds, use a better newNode() macro that relies on

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In GCC-based builds, use a better newNode() macro that relies on
Date: 2008-08-29 22:49:07
Message-ID: 20080829224907.51C56755315@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
In GCC-based builds, use a better newNode() macro that relies on GCC-specific
syntax to avoid a useless store into a global variable. Per experimentation,
this works better than my original thought of trying to push the code into
an out-of-line subroutine.

Modified Files:
--------------
pgsql/src/backend/nodes:
nodes.c (r1.28 -> r1.29)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/nodes.c?r1=1.28&r2=1.29)
pgsql/src/include/nodes:
nodes.h (r1.209 -> r1.210)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/nodes.h?r1=1.209&r2=1.210)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-08-30 01:39:14 pgsql: Fix the raw-parsetree representation of star (as in SELECT * FROM
Previous Message User Fxjr 2008-08-29 19:25:33 npgsql - Npgsql2: [#1010415] Stream seek error on close.