From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove _hash_chgbufaccess().
Date: Fri, 23 Dec 2016 12:26:34 +0000
Message-ID: <E1cKOvi-0004Nj-I2@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Remove _hash_chgbufaccess().
This is basically for the same reasons I got rid of _hash_wrtbuf()
in commit 25216c98938495fd741bf585dcbef45b3a9ffd40: it's not
convenient to have a function which encapsulates MarkBufferDirty(),
especially as we move towards having hash indexes be WAL-logged.
Patch by me, reviewed (but not entirely endorsed) by Amit Kapila.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/7819ba1ef6c5297b7e27878d2b3d30c5bcef8939
Modified Files
--------------
src/backend/access/hash/hash.c | 20 +++++------
src/backend/access/hash/hashinsert.c | 15 +++++----
src/backend/access/hash/hashovfl.c | 32 +++++++++---------
src/backend/access/hash/hashpage.c | 64 +++++++++++++-----------------------
src/backend/access/hash/hashsearch.c | 18 +++++-----
src/include/access/hash.h | 2 --
6 files changed, 66 insertions(+), 85 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: rhaas@postgresql.org
Subject: Re: pgsql: Remove _hash_chgbufaccess().
In-Reply-To: <E1cKOvi-0004Nj-I2@gemulon.postgresql.org>
References: <E1cKOvi-0004Nj-I2@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