pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove obsolete comment from AddBufferToRing()
Date: Thu, 05 Nov 2026 15:10:39 +0000
Message-ID: <E1xOz6u-00000000KXL-0Sf4@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1xOz6u-00000000KXL-0Sf4@gemulon.postgresql.org>
Permalink:  ../E1xOz6u-00000000KXL-0Sf4@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xOz6u-00000000KXL-0Sf4@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Remove obsolete comment from AddBufferToRing()
  In-Reply-To: <E1xOz6u-00000000KXL-0Sf4@gemulon.postgresql.org>
  References: <E1xOz6u-00000000KXL-0Sf4@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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