-
- Downloads
Make useful infrastructure from aset.c generally available.
An upcoming patch introduces a new type of memory context. To avoid duplicating debugging infrastructure within aset.c, move useful pieces to memdebug.[ch]. While touching aset.c, fix printf format code in AllocFree* debug macros. Author: Tomas Vondra Reviewed-By: Andres Freund Discussion: https://postgr.es/m/b3b2245c-b37a-e1e5-ebc4-857c914bc747@2ndquadrant.com
Showing
- src/backend/utils/mmgr/Makefile 1 addition, 1 deletionsrc/backend/utils/mmgr/Makefile
- src/backend/utils/mmgr/aset.c 2 additions, 113 deletionssrc/backend/utils/mmgr/aset.c
- src/backend/utils/mmgr/memdebug.c 93 additions, 0 deletionssrc/backend/utils/mmgr/memdebug.c
- src/include/utils/memdebug.h 48 additions, 0 deletionssrc/include/utils/memdebug.h
Loading
Please register or sign in to comment