pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Improve comments in slru.{c,h} about segment name format
2+ messages / 1 participants
[nested] [flat]

* pgsql: Improve comments in slru.{c,h} about segment name format
@ 2024-07-23 07:55  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2024-07-23 07:55 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



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

* pgsql: Improve comments in slru.{c,h} about segment name format
@ 2024-07-23 07:55  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2024-07-23 07:55 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

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

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



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


end of thread, other threads:[~2024-07-23 07:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-07-23 07:55 pgsql: Improve comments in slru.{c,h} about segment name format Michael Paquier <michael@paquier.xyz>
2024-07-23 07:55 pgsql: Improve comments in slru.{c,h} about segment name format Michael Paquier <michael@paquier.xyz>

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