pgsql: Correct obsolete nbtree page deletion comment.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Correct obsolete nbtree page deletion comment.
Date: 2019-02-26 00:56:16
Message-ID: E1gyR2e-0005KK-I2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Correct obsolete nbtree page deletion comment.

Commit efada2b8e92, which made the nbtree page deletion algorithm more
robust, removed _bt_getstackbuf() calls from _bt_pagedel(). It failed
to update a comment that referenced the earlier approach. Update the
comment to explain that the _bt_getstackbuf() page deletion call site
mirrors the only other remaining _bt_getstackbuf() call site, which is
reached during page splits.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/067786cea0f150ccf9350abb9a5ac3e4ad328804

Modified Files
--------------
src/backend/access/nbtree/nbtpage.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2019-02-26 01:49:16 pgsql: Remove unneeded argument from _bt_getstackbuf().
Previous Message Tom Lane 2019-02-25 17:44:28 Re: pgsql: Avoid creation of the free space map for small heap relations, t