diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-21 02:23:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-21 02:23:30 +0000 |
commit | aa1617911836bd8f500320a365d59920fca2613b (patch) | |
tree | aad6018f3a1cf8b07ff4b06ca00fef3a35c4e1f6 /src/include/utils/memutils.h | |
parent | 25a7a7f4469f3c861fbbe72733560dba71ae8ea7 (diff) |
Add debug code to aid in memory-leak tracking: if SHOW_MEMORY_STATS is
defined then statistics about memory usage of all the global memory
contexts are printed after each commit.
Diffstat (limited to 'src/include/utils/memutils.h')
-rw-r--r-- | src/include/utils/memutils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/memutils.h b/src/include/utils/memutils.h index a42bce402cd..3e6ad2e53da 100644 --- a/src/include/utils/memutils.h +++ b/src/include/utils/memutils.h @@ -13,7 +13,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: memutils.h,v 1.34 2000/04/12 17:16:55 momjian Exp $ + * $Id: memutils.h,v 1.35 2000/05/21 02:23:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -224,6 +224,7 @@ extern AllocPointer AllocSetRealloc(AllocSet set, AllocPointer pointer, Size size); extern void AllocSetDump(AllocSet set); +extern void AllocSetStats(AllocSet set, const char *ident); #endif /* MEMUTILS_H */ |