]> granicus.if.org Git - postgresql/commit
Add debug code to aid in memory-leak tracking: if SHOW_MEMORY_STATS is
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 May 2000 02:23:30 +0000 (02:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 May 2000 02:23:30 +0000 (02:23 +0000)
commitaa1617911836bd8f500320a365d59920fca2613b
treeaad6018f3a1cf8b07ff4b06ca00fef3a35c4e1f6
parent25a7a7f4469f3c861fbbe72733560dba71ae8ea7
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.
src/backend/tcop/postgres.c
src/backend/utils/mmgr/aset.c
src/backend/utils/mmgr/mcxt.c
src/include/utils/mcxt.h
src/include/utils/memutils.h