pgsql: Remove obsolete comment from AddBufferToRing()

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove obsolete comment from AddBufferToRing()
Date: 2026-11-05 15:10:39
Message-ID: E1xOz6u-00000000KXJ-0NNq@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove obsolete comment from AddBufferToRing()

Commit 5e899859287 changed StrategyGetBuffer() to pin buffers using
CAS without acquiring the buffer header lock, but left
AddBufferToRing()'s comment about the lock unchanged. Remove the stale
paragraph.

Author: Chao Li <lic(at)highgo(dot)com>
Reviewed-by: Pierre Forstmann <pierre(dot)forstmann(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/17F7E4A7-AE49-4F2F-B4C7-57107CBB83F1@gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8e997cb8c9ecc27e55e38bb42f1cefd5ef74c9a0

Modified Files
--------------
src/backend/storage/buffer/freelist.c | 3 ---
1 file changed, 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2026-11-05 20:28:30 pgsql: Teach pg_upgrade to skip invalid databases.
Previous Message Tomas Vondra 2026-11-05 14:51:58 pgsql: Handle numeric overflow when handling range values