Improve comments in slru.{c,h} about segment name format
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/slru.c | modified | +15 −0 |
| src/include/access/slru.h | modified | +3 −4 |
Discussion
- XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15) 149 messages · 2022-03-17 → 2024-08-19