pgsql: Correct obsolete nbtree recovery comments. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Correct obsolete nbtree recovery comments.
Date
Msg-id E1gZQDV-000553-Ly@gemulon.postgresql.org
Whole thread Raw
List 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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/741c4c41429b72b8140a269f578f5a87e03d6ab6

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


pgsql-committers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: pgsql: Doc: fix typo in "Generic File Access Functions" section.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Remove obsolete nbtree duplicate entries comment.