00001 /*------------------------------------------------------------------------- 00002 * 00003 * nodes.c 00004 * support code for nodes (now that we have removed the home-brew 00005 * inheritance system, our support code for nodes is much simpler) 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * 00011 * IDENTIFICATION 00012 * src/backend/nodes/nodes.c 00013 * 00014 * HISTORY 00015 * Andrew Yu Oct 20, 1994 file creation 00016 * 00017 *------------------------------------------------------------------------- 00018 */ 00019 #include "postgres.h" 00020 00021 #include "nodes/nodes.h" 00022 00023 /* 00024 * Support for newNode() macro 00025 * 00026 * In a GCC build there is no need for the global variable newNodeMacroHolder. 00027 * However, we create it anyway, to support the case of a non-GCC-built 00028 * loadable module being loaded into a GCC-built backend. 00029 */ 00030 00031 Node *newNodeMacroHolder;