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: Update outdated paragraphs in README on how bgwriter works
Date: Thu, 19 Nov 2026 14:18:00 +0000
Message-ID: <E1xU2xb-00000000OPv-2t44@gemulon.postgresql.org> (raw)

Update outdated paragraphs in README on how bgwriter works

Since commit 82467f627bd4, it takes a share-exclusive lock rather than
share lock, and the note on missing hint bit updates is no longer
relevant.

Since 9.2, the bgwriter is no longer responsible for checkpoints.

nextVictimBuffer is an atomic variable now. Clarify the details of
what locks are taken.

Co-authored-by: Henrik TJ <henrik@0x48.dk>
Discussion: https://www.postgresql.org/message-id/7ecd1d06-24ab-ec54-127c-93e4ec691b77@0x48.dk

Branch
------
master

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

Modified Files
--------------
src/backend/storage/buffer/README | 27 +++++++++------------------
1 file changed, 9 insertions(+), 18 deletions(-)



Message-ID: <E1xU2xb-00000000OPv-2t44@gemulon.postgresql.org>
Permalink:  ../E1xU2xb-00000000OPv-2t44@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xU2xb-00000000OPv-2t44@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: Update outdated paragraphs in README on how bgwriter works
  In-Reply-To: <E1xU2xb-00000000OPv-2t44@gemulon.postgresql.org>
  References: <E1xU2xb-00000000OPv-2t44@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