pgsql: Correct obsolete nbtree recovery comments.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Correct obsolete nbtree recovery comments.
Date: 2018-12-19 01:00:05
Message-ID: E1gZQDV-000552-Lt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2018-12-19 05:41:27 pgsql: Remove obsolete nbtree duplicate entries comment.
Previous Message Tatsuo Ishii 2018-12-19 00:56:46 pgsql: Doc: fix typo in "Generic File Access Functions" section.