pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make useful infrastructure from aset.c generally available.
Date: Mon, 27 Feb 2017 12:01:18 +0000
Message-ID: <E1ciJzS-0005mE-Cx@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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

Branch
------
master

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

Modified Files
--------------
src/backend/utils/mmgr/Makefile   |   2 +-
src/backend/utils/mmgr/aset.c     | 115 +-------------------------------------
src/backend/utils/mmgr/memdebug.c |  93 ++++++++++++++++++++++++++++++
src/include/utils/memdebug.h      |  48 ++++++++++++++++
4 files changed, 144 insertions(+), 114 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (3+ messages)  latest in thread

Message-ID: <E1ciJzS-0005mE-Cx@gemulon.postgresql.org>
Permalink:  ../E1ciJzS-0005mE-Cx@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ciJzS-0005mE-Cx@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Make useful infrastructure from aset.c generally available.
  In-Reply-To: <E1ciJzS-0005mE-Cx@gemulon.postgresql.org>
  References: <E1ciJzS-0005mE-Cx@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox