mirror of
https://github.com/postgres/postgres.git
synced 2025-09-08 00:47:37 +03:00
New alloc set code using a memory block pool for small allocations.
Jan
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: memnodes.h,v 1.8 1998/09/01 04:36:39 momjian Exp $
|
||||
* $Id: memnodes.h,v 1.9 1999/02/06 16:50:30 wieck Exp $
|
||||
*
|
||||
* XXX the typedefs in this file are different from the other ???nodes.h;
|
||||
* they are pointers to structures instead of the structures themselves.
|
||||
@@ -56,7 +56,7 @@ typedef struct MemoryContextMethodsData
|
||||
void (*dump) ();
|
||||
} *MemoryContextMethods;
|
||||
|
||||
typedef struct MemoryContext
|
||||
typedef struct MemoryContextData
|
||||
{
|
||||
NodeTag type;
|
||||
MemoryContextMethods method;
|
||||
@@ -64,7 +64,7 @@ typedef struct MemoryContext
|
||||
|
||||
/* think about doing this right some time but we'll have explicit fields
|
||||
for now -ay 10/94 */
|
||||
typedef struct GlobalMemory
|
||||
typedef struct GlobalMemoryData
|
||||
{
|
||||
NodeTag type;
|
||||
MemoryContextMethods method;
|
||||
@@ -75,14 +75,14 @@ typedef struct GlobalMemory
|
||||
|
||||
typedef MemoryContext *PortalMemoryContext;
|
||||
|
||||
typedef struct PortalVariableMemory
|
||||
typedef struct PortalVariableMemoryData
|
||||
{
|
||||
NodeTag type;
|
||||
MemoryContextMethods method;
|
||||
AllocSetData setData;
|
||||
} *PortalVariableMemory;
|
||||
|
||||
typedef struct PortalHeapMemory
|
||||
typedef struct PortalHeapMemoryData
|
||||
{
|
||||
NodeTag type;
|
||||
MemoryContextMethods method;
|
||||
|
Reference in New Issue
Block a user