pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove dedicated B-tree root-split record types.
Date: Wed, 16 Aug 2017 09:26:00 +0000
Message-ID: <E1dhuaO-0006ER-Gp@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Remove dedicated B-tree root-split record types.

Since commit 40dae7ec53, which changed the way b-tree page splitting
works, there has been no difference in the handling of root, and non-root
split WAL records. We don't need to distinguish them anymore

If you're worried about the loss of debugging information, note that
usually a root split record will normally be followed by a WAL record to
create the new root page. The root page will also have the BTP_ROOT flag
set on the page itself, and there is a pointer to it from the metapage.

Author: Aleksander Alekseev
Discussion: https://www.postgresql.org/message-id/20170406122116.GA11081@e733.localdomain

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c504a80cf2e6f66df2cdea563e879bf4abd1629

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c |  8 +-------
src/backend/access/nbtree/nbtxlog.c   | 12 +++---------
src/backend/access/rmgrdesc/nbtdesc.c |  8 --------
src/include/access/nbtxlog.h          |  3 +--
4 files changed, 5 insertions(+), 26 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)  latest in thread

Message-ID: <E1dhuaO-0006ER-Gp@gemulon.postgresql.org>
Permalink:  ../E1dhuaO-0006ER-Gp@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1dhuaO-0006ER-Gp@gemulon.postgresql.org

 · 

reply

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: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Remove dedicated B-tree root-split record types.
  In-Reply-To: <E1dhuaO-0006ER-Gp@gemulon.postgresql.org>
  References: <E1dhuaO-0006ER-Gp@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