In GCC-based builds, use a better newNode() macro that relies on GCC-specific
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Aug 2008 22:49:07 +0000 (22:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Aug 2008 22:49:07 +0000 (22:49 +0000)
commit92658945afe9054afb790d0d8d79b341ec2a14f0
tree1fb959d55c292375fbdf9e93af2ea7c0ba075bd5
parentd4768ab301b2ed2b2c81bb060db8f27693a465bf
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.
src/backend/nodes/nodes.c
src/include/nodes/nodes.h