1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * nodes.c |
4 | * support code for nodes (now that we have removed the home-brew |
5 | * inheritance system, our support code for nodes is much simpler) |
6 | * |
7 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group |
8 | * Portions Copyright (c) 1994, Regents of the University of California |
9 | * |
10 | * |
11 | * IDENTIFICATION |
12 | * src/backend/nodes/nodes.c |
13 | * |
14 | * HISTORY |
15 | * Andrew Yu Oct 20, 1994 file creation |
16 | * |
17 | *------------------------------------------------------------------------- |
18 | */ |
19 | #include "postgres.h" |
20 | |
21 | #include "nodes/nodes.h" |
22 | |
23 | /* |
24 | * Support for newNode() macro |
25 | * |
26 | * In a GCC build there is no need for the global variable newNodeMacroHolder. |
27 | * However, we create it anyway, to support the case of a non-GCC-built |
28 | * loadable module being loaded into a GCC-built backend. |
29 | */ |
30 | |
31 | Node *newNodeMacroHolder; |
32 | |