diff options
| author | Robert Haas | 2020-01-24 22:01:59 +0000 |
|---|---|---|
| committer | Robert Haas | 2020-01-24 22:01:59 +0000 |
| commit | 73600bfbcef11e79cfff27ce5f4300658f8695ab (patch) | |
| tree | f95dfb6dc2ccf7c726aa7683ce0a4e027a602939 /src/include/nodes/nodes.h | |
| parent | 0ce38730ac72029f3f2c95ae80b44f5b9060cbcc (diff) | |
Teach MemoryContext infrastructure not to depend on Node.aset_frontend
There's no real reason why a MemoryContext's type needs to be a
Node type. So use a separate enum instead.
This makes memory contexts less dependent on backend-only
infrastructure.
Diffstat (limited to 'src/include/nodes/nodes.h')
| -rw-r--r-- | src/include/nodes/nodes.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index bce2d59b0d..d4bba8a80c 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -274,14 +274,6 @@ typedef enum NodeTag T_StatisticExtInfo, /* - * TAGS FOR MEMORY NODES (memnodes.h) - */ - T_MemoryContext, - T_AllocSetContext, - T_SlabContext, - T_GenerationContext, - - /* * TAGS FOR VALUE NODES (value.h) */ T_Value, |
