| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Improve comments in slru.{c,h} about segment name format |
| Date: | 2024-07-23 07:55:43 |
| Message-ID: | E1sWAN5-000pBq-6K@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2024-07-23 08:00:50 | pgsql: Get rid of a global variable |
| Previous Message | Peter Eisentraut | 2024-07-23 07:24:35 | pgsql: Replace remaining strtok() with strtok_r() |