pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Remove obsolete comment from AddBufferToRing()
2+ messages / 1 participants
[nested] [flat]

* pgsql: Remove obsolete comment from AddBufferToRing()
@ 2026-11-05 15:10  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2026-11-05 15:10 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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@highgo.com>
Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Remove obsolete comment from AddBufferToRing()
@ 2026-11-05 15:10  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2026-11-05 15:10 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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@highgo.com>
Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-11-05 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 15:10 pgsql: Remove obsolete comment from AddBufferToRing() Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-11-05 15:10 pgsql: Remove obsolete comment from AddBufferToRing() Heikki Linnakangas <heikki.linnakangas@iki.fi>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox