pgsql: Fix obsolete _bt_first comments.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix obsolete _bt_first comments.
Date: 2024-11-04 17:44:24
Message-ID: E1t817n-000AvG-Jp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix obsolete _bt_first comments.

_bt_first doesn't necessarily hold onto a buffer pin on success exit.
Fix header comments that claimed that we'll always hold onto a pin.

Oversight in commit 2ed5b87f96.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/846cfe0dcc0281fd9064798ac3539e20379b9b91

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

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2024-11-04 18:22:12 pgsql: Fix typo in comment of gistdoinsert().
Previous Message Heikki Linnakangas 2024-11-04 17:11:58 Re: pgsql: Implement pg_wal_replay_wait() stored procedure