forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2b53a46
committed
Fix incorrect comment on how BackendStatusArray is indexed
The comment was copy-pasted from the call to ProcSignalInit() inAuxiliaryProcessMain(), which uses a similar scheme of having reservedslots for aux processes after MaxBackends slots for backends. However,ProcSignalInit() indexing starts from 1, whereas BackendStatusArraystarts from 0. The code is correct, but the comment was wrong.Discussion:https://www.postgresql.org/message-id/f3ecd4cb-85ee-4e54-8278-5fabfb3a4ed0@iki.fiBackpatch-through: v141 parent7cfa154 commit2b53a46
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
266 |
| - | |
267 |
| - | |
268 |
| - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
269 | 269 |
| |
270 | 270 |
| |
271 | 271 |
| |
|
0 commit comments
Comments
(0)