Add debug code to aid in memory-leak tracking: if SHOW_MEMORY_STATS is

Tom Lane <tgl@sss.pgh.pa.us>

Commit: aa1617911836bd8f500320a365d59920fca2613b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-05-21T02:23:30Z
Releases: 7.1.1
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.

Files

PathChange+/−
src/backend/tcop/postgres.c modified +7 −2
src/backend/utils/mmgr/aset.c modified +39 −1
src/backend/utils/mmgr/mcxt.c modified +21 −4
src/include/utils/mcxt.h modified +2 −1
src/include/utils/memutils.h modified +2 −1