summaryrefslogtreecommitdiff
path: root/src/include/utils/palloc.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-10-11 04:16:44 +0000
committerBruce Momjian <bruce@momjian.us>2002-10-11 04:16:44 +0000
commit2177b6b63540c6ddb7e545735f2cb9775a342a23 (patch)
tree65b6f7fdcce0e1b10d146d4328428cd8b160bb83 /src/include/utils/palloc.h
parent6a7bb0afbcab1ac3f1e9bbcb536bc7865f4503e6 (diff)
downloadpostgresql-2177b6b63540c6ddb7e545735f2cb9775a342a23.tar.gz
Oops, back out newNode changes. We are not ready for that yet.
Diffstat (limited to 'src/include/utils/palloc.h')
-rw-r--r--src/include/utils/palloc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/utils/palloc.h b/src/include/utils/palloc.h
index c1cb6f69c4..44adc1ed96 100644
--- a/src/include/utils/palloc.h
+++ b/src/include/utils/palloc.h
@@ -21,7 +21,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: palloc.h,v 1.20 2002/10/11 04:12:14 momjian Exp $
+ * $Id: palloc.h,v 1.21 2002/10/11 04:16:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -46,12 +46,9 @@ extern DLLIMPORT MemoryContext CurrentMemoryContext;
* Fundamental memory-allocation operations (more are in utils/memutils.h)
*/
extern void *MemoryContextAlloc(MemoryContext context, Size size);
-extern void *MemoryContextAllocZero(MemoryContext context, Size size);
#define palloc(sz) MemoryContextAlloc(CurrentMemoryContext, (sz))
-#define palloc0(sz) MemoryContextAllocZero(CurrentMemoryContext, (sz))
-
extern void pfree(void *pointer);
extern void *repalloc(void *pointer, Size size);