pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve comments in slru.{c,h} about segment name format
Date: Tue, 23 Jul 2024 07:55:43 +0000
Message-ID: <E1sWAN5-000pBq-6K@gemulon.postgresql.org> (raw)

Improve comments in slru.{c,h} about segment name format

slru.h described incorrectly how SLRU segment names are formatted
depending on the segment number and if long or short segment names are
used.  This commit closes the gap with a better description, fitting
with the reality.

Reported-by: Noah Misch
Author: Aleksander Alekseev
Discussion: https://postgr.es/m/20240626002747.dc.nmisch@google.com
Backpatch-through: 17

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3b279d89cb5c86fa7ac6faaebb3ddadb2dbe0ca8

Modified Files
--------------
src/backend/access/transam/slru.c | 15 +++++++++++++++
src/include/access/slru.h         |  7 +++----
2 files changed, 18 insertions(+), 4 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1sWAN5-000pBq-6K@gemulon.postgresql.org>
Permalink:  ../E1sWAN5-000pBq-6K@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sWAN5-000pBq-6K@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Improve comments in slru.{c,h} about segment name format
  In-Reply-To: <E1sWAN5-000pBq-6K@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