forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitffb0603
committed
Improve comments in slru.{c,h} about segment name format
slru.h described incorrectly how SLRU segment names are formatteddepending on the segment number and if long or short segment names areused. This commit closes the gap with a better description, fittingwith the reality.Reported-by: Noah MischAuthor: Aleksander AlekseevDiscussion:https://postgr.es/m/20240626002747.dc.nmisch@google.comBackpatch-through: 171 parent65504b7 commitffb0603
2 files changed
+18
-4
lines changedLines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
75 | 90 |
| |
76 | 91 |
| |
77 | 92 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
141 | 140 |
| |
142 | 141 |
| |
143 | 142 |
| |
|
0 commit comments
Comments
(0)