pgsql: Fix obsolete _bt_first comments. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Fix obsolete _bt_first comments.
Date
Msg-id E1t817n-000AvG-Jp@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: docs: Consistently use to indicate optional parameter
Next
From: Masahiko Sawada
Date:
Subject: pgsql: Fix typo in comment of gistdoinsert().