Improve comments in slru.{c,h} about segment name format
authorMichael Paquier
Tue, 23 Jul 2024 07:55:09 +0000 (16:55 +0900)
committerMichael Paquier
Tue, 23 Jul 2024 07:55:09 +0000 (16:55 +0900)
commit3b279d89cb5c86fa7ac6faaebb3ddadb2dbe0ca8
tree7393a15dc085bae735a7ff0728b412492135bd1f
parentdb46016304dc1f9ea402eee6d392f704050467df
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[email protected]
Backpatch-through: 17
src/backend/access/transam/slru.c
src/include/access/slru.h