1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-18 02:02:55 +03:00

Modify mcxt.h so that it doesn't pull in half of creation.

This commit is contained in:
Tom Lane
1999-03-07 23:03:32 +00:00
parent dffb88b024
commit 86c2eadb18
3 changed files with 19 additions and 7 deletions

View File

@@ -6,14 +6,21 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: mcxt.h,v 1.12 1999/02/13 23:22:24 momjian Exp $
* $Id: mcxt.h,v 1.13 1999/03/07 23:03:31 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef MCXT_H
#define MCXT_H
#include <nodes/memnodes.h>
/* These types are declared in nodes/memnodes.h, but most users of memory
* allocation should just treat them as abstract types, so we do not provide
* the struct contents here.
*/
typedef struct MemoryContextData *MemoryContext;
typedef struct GlobalMemoryData *GlobalMemory;
extern MemoryContext CurrentMemoryContext;
extern MemoryContext TopMemoryContext;