From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Improve API of GenericXLogRegister().
Date: Tue, 12 Apr 2016 15:42:12 +0000
Message-ID: <E1aq0SC-0000gx-LQ@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Improve API of GenericXLogRegister().
Rename this function to GenericXLogRegisterBuffer() to make it clearer
what it does, and leave room for other sorts of "register" actions in
future. Also, replace its "bool isNew" argument with an integer flags
argument, so as to allow adding more flags in future without an API
break.
Alexander Korotkov, adjusted slightly by me
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5713f03973e26ad6df6df5ac8b9efa0123d68062
Modified Files
--------------
contrib/bloom/blinsert.c | 10 +++++-----
contrib/bloom/blutils.c | 9 +++++----
contrib/bloom/blvacuum.c | 4 ++--
doc/src/sgml/generic-wal.sgml | 32 +++++++++++++++++--------------
src/backend/access/transam/generic_xlog.c | 10 ++++++----
src/include/access/generic_xlog.h | 7 +++++--
6 files changed, 41 insertions(+), 31 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: Improve API of GenericXLogRegister().
In-Reply-To: <E1aq0SC-0000gx-LQ@gemulon.postgresql.org>
References: <E1aq0SC-0000gx-LQ@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