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-00000000KXL-0Sf4@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
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e052d7751b54b1af1abf326be3c8b0f411bd0464

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