1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* nodes.c
|
2004-05-06 08:11:01 +02:00
|
|
|
* support code for nodes (now that we have removed the home-brew
|
|
|
|
* inheritance system, our support code for nodes is much simpler)
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2021-01-02 19:06:25 +01:00
|
|
|
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* IDENTIFICATION
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/backend/nodes/nodes.c
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
* HISTORY
|
1997-09-07 07:04:48 +02:00
|
|
|
* Andrew Yu Oct 20, 1994 file creation
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#include "postgres.h"
|
2002-12-16 17:22:46 +01:00
|
|
|
|
1999-07-14 03:20:30 +02:00
|
|
|
#include "nodes/nodes.h"
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
/*
|
2002-12-16 17:22:46 +01:00
|
|
|
* Support for newNode() macro
|
2008-08-30 00:49:07 +02:00
|
|
|
*
|
|
|
|
* In a GCC build there is no need for the global variable newNodeMacroHolder.
|
|
|
|
* However, we create it anyway, to support the case of a non-GCC-built
|
|
|
|
* loadable module being loaded into a GCC-built backend.
|
1996-07-09 08:22:35 +02:00
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
|
2003-08-04 02:43:34 +02:00
|
|
|
Node *newNodeMacroHolder;
|