pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Correct obsolete nbtree recovery comments.
Date: Wed, 19 Dec 2018 01:00:05 +0000
Message-ID: <E1gZQDV-000552-Lt@gemulon.postgresql.org> (raw)

Correct obsolete nbtree recovery comments.

Commit 40dae7ec537, which made the handling of interrupted nbtree page
splits more robust, removed an nbtree-specific end-of-recovery cleanup
step.  This meant that it was no longer possible to complete an
interrupted page split during recovery.  However, a reference to
recovery as a reason for using a NULL stack while inserting into a
parent page was missed.  Remove the reference.

Remove a similar obsolete reference to recovery that was introduced much
more recently, as part of the btree fastpath optimization enhancement
that made it into Postgres 11 (commit 2b272734, and follow-up commits).

Backpatch: 11-, where the fastpath optimization was introduced.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/60f3cc9553c7ea7a1cc61bcd1efe51537f31e531

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)



view thread (2+ messages)

Message-ID: <E1gZQDV-000552-Lt@gemulon.postgresql.org>
Permalink:  ../E1gZQDV-000552-Lt@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gZQDV-000552-Lt@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: pg@bowt.ie
  Subject: Re: pgsql: Correct obsolete nbtree recovery comments.
  In-Reply-To: <E1gZQDV-000552-Lt@gemulon.postgresql.org>
  References: <E1gZQDV-000552-Lt@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