From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Move memory context callback declarations into palloc.h.
Date: Sun, 01 Mar 2015 17:31:39 +0000
Message-ID: <E1YS7iN-0004Lm-3K@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Move memory context callback declarations into palloc.h.
Initial experience with this feature suggests that instances of
MemoryContextCallback are likely to propagate into some widely-used headers
over time. As things stood, that would result in pulling memutils.h or
at least memnodes.h into common headers, which does not seem desirable.
Instead, let's decide that this feature is part of the "ordinary palloc
user" API rather than the "specialized context management" API, and as
such should be declared in palloc.h not memutils.h.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/097fe194aa7c590b4fa43d5e40c083940859c286
Modified Files
--------------
src/include/nodes/memnodes.h | 16 ----------------
src/include/utils/memutils.h | 2 --
src/include/utils/palloc.h | 20 ++++++++++++++++++++
3 files changed, 20 insertions(+), 18 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Move memory context callback declarations into palloc.h.
In-Reply-To: <E1YS7iN-0004Lm-3K@gemulon.postgresql.org>
References: <E1YS7iN-0004Lm-3K@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