diff options
Diffstat (limited to 'src/include/nodes/memnodes.h')
-rw-r--r-- | src/include/nodes/memnodes.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/include/nodes/memnodes.h b/src/include/nodes/memnodes.h index 0bd7f9266ae..a44e1fb31a7 100644 --- a/src/include/nodes/memnodes.h +++ b/src/include/nodes/memnodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: memnodes.h,v 1.10 1999/02/13 23:21:38 momjian Exp $ + * $Id: memnodes.h,v 1.11 1999/03/07 23:03:31 tgl Exp $ * * XXX the typedefs in this file are different from the other ???nodes.h; * they are pointers to structures instead of the structures themselves. @@ -60,7 +60,9 @@ typedef struct MemoryContextData { NodeTag type; MemoryContextMethods method; -} *MemoryContext; +} MemoryContextData; + +/* utils/mcxt.h contains typedef struct MemoryContextData *MemoryContext */ /* think about doing this right some time but we'll have explicit fields for now -ay 10/94 */ @@ -71,9 +73,11 @@ typedef struct GlobalMemoryData AllocSetData setData; char *name; OrderedElemData elemData; -} *GlobalMemory; +} GlobalMemoryData; + +/* utils/mcxt.h contains typedef struct GlobalMemoryData *GlobalMemory */ -typedef MemoryContext *PortalMemoryContext; +typedef struct MemoryContextData *PortalMemoryContext; typedef struct PortalVariableMemoryData { |