pgsql: Refactor aset.c and mcxt.c in preparation for Valgrind cooperati

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor aset.c and mcxt.c in preparation for Valgrind cooperati
Date: 2013-06-27 00:35:12
Message-ID: E1Us0B6-0007jm-JL@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a855148a29b786b179308b3bd5c59fe5b67110d8

Modified Files
--------------
src/backend/utils/mmgr/aset.c | 65 ++++++++++++++++++++++++++++-------------
src/backend/utils/mmgr/mcxt.c | 46 +++++++++++++++++------------
2 files changed, 73 insertions(+), 38 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-06-27 04:28:30 pgsql: Tweak wording in sequence-function docs to avoid PDF build failu
Previous Message Noah Misch 2013-06-26 15:29:05 pgsql: Renovate display of non-ASCII messages on Windows.