Refactor aset.c and mcxt.c in preparation for Valgrind cooperation.
Noah Misch <noah@leadboat.com>
Refactor aset.c and mcxt.c in preparation for Valgrind cooperation. Move some repeated debugging code into functions and store intermediates in variables where not presently necessary. No code-generation changes in a production build, and no functional changes. This simplifies and focuses the main patch.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mmgr/aset.c | modified | +45 −20 |
| src/backend/utils/mmgr/mcxt.c | modified | +28 −18 |