pgsql: hash: Refactor and clean up bucket split code.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: hash: Refactor and clean up bucket split code.
Date: 2017-03-01 09:18:20
Message-ID: E1cj0Oq-0003Jg-Ew@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

hash: Refactor and clean up bucket split code.

As with commit 30df93f698d016d086e8961aa6c6076b37ea0ef4 and commit
b0f18cb77f50a54e997d857d592f6a511617f52c, the goal here is to move all
of the related page modifications to a single section of code, in
preparation for adding write-ahead logging.

Amit Kapila, with slight changes by me. 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/21a3cf41284c08307ef9abe3400be5dc53723519

Modified Files
--------------
src/backend/access/hash/hashpage.c | 160 ++++++++++++++++---------------------
1 file changed, 67 insertions(+), 93 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-03-01 13:54:26 pgsql: psql: Add tab completion for DEALLOCATE
Previous Message Andres Freund 2017-03-01 04:45:42 pgsql: Fix assertion failure due to over-eager code deduplication.