summaryrefslogtreecommitdiff
path: root/src/include/nodes/memnodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/nodes/memnodes.h')
-rw-r--r--src/include/nodes/memnodes.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/include/nodes/memnodes.h b/src/include/nodes/memnodes.h
index 4296795e5d1..ed8f0152dde 100644
--- a/src/include/nodes/memnodes.h
+++ b/src/include/nodes/memnodes.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: memnodes.h,v 1.18 2000/07/11 14:30:34 momjian Exp $
+ * $Id: memnodes.h,v 1.19 2000/12/01 18:14:29 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -63,27 +63,6 @@ typedef struct MemoryContextData
/*
- * AllocSetContext is our standard implementation of MemoryContext.
- */
-typedef struct AllocBlockData *AllocBlock; /* internal to aset.c */
-typedef struct AllocChunkData *AllocChunk;
-
-typedef struct AllocSetContext
-{
- MemoryContextData header; /* Standard memory-context fields */
- /* Info about storage allocated in this context: */
- AllocBlock blocks; /* head of list of blocks in this set */
-#define ALLOCSET_NUM_FREELISTS 8
- AllocChunk freelist[ALLOCSET_NUM_FREELISTS]; /* free chunk lists */
- /* Allocation parameters for this context: */
- Size initBlockSize; /* initial block size */
- Size maxBlockSize; /* maximum block size */
- AllocBlock keeper; /* if not NULL, keep this block
- * over resets */
-} AllocSetContext;
-
-
-/*
* MemoryContextIsValid
* True iff memory context is valid.
*