]> granicus.if.org Git - postgresql/commit
hash: Refactor hash index creation.
authorRobert Haas <rhaas@postgresql.org>
Tue, 7 Mar 2017 22:03:51 +0000 (17:03 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 7 Mar 2017 22:03:51 +0000 (17:03 -0500)
commit38305398cdc029e3a74bfad1815cb33f5b087336
treeac066395e910b0459e00170581e407f007048159
parent2b87dd8d7ae33ef5c70671674c08bbff066738bf
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.
src/backend/access/hash/hash.c
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashpage.c
src/include/access/hash.h