pgsql: hash: Refactor hash index creation.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: hash: Refactor hash index creation.
Date: 2017-03-07 22:08:24
Message-ID: E1clNHM-0005l6-Dk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

hash: Refactor hash index creation.

The primary goal here is to move all of the related page modifications
to a single section of code, in preparation for adding write-ahead
logging. In passing, rename _hash_metapinit to _hash_init, since it
initializes more than just the metapage.

Amit Kapila. The larger patch series of which this is a part has been
reviewed and tested by Álvaro Herrera, Ashutosh Sharma, Mark Kirkwood,
Jeff Janes, and Jesper Pedersen.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/38305398cdc029e3a74bfad1815cb33f5b087336

Modified Files
--------------
src/backend/access/hash/hash.c | 4 +-
src/backend/access/hash/hashovfl.c | 62 -----------
src/backend/access/hash/hashpage.c | 203 +++++++++++++++++++++++++------------
src/include/access/hash.h | 10 +-
4 files changed, 144 insertions(+), 135 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2017-03-08 02:47:26 Re: pgsql: Suppress compiler warnings in ecpg test on newer Windows toolcha
Previous Message Robert Haas 2017-03-07 20:32:14 pgsql: Improve postgresql.conf.sample comments about parallel workers.