summaryrefslogtreecommitdiff
path: root/src/common/relpath.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-01-17 15:44:10 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-01-17 15:45:57 +0200
commit90ccc9bf90a917037f9cd451ce4c10fb9704924e (patch)
tree255c35da1f2e275b00b5f0133e05a1e5d950c334 /src/common/relpath.c
parent551c0b7bda3e147494bb9858035427d918b885a2 (diff)
Fix incorrect comment on how BackendStatusArray is indexed
The comment was copy-pasted from the call to ProcSignalInit() in AuxiliaryProcessMain(), which uses a similar scheme of having reserved slots for aux processes after MaxBackends slots for backends. However, ProcSignalInit() indexing starts from 1, whereas BackendStatusArray starts from 0. The code is correct, but the comment was wrong. Discussion: https://www.postgresql.org/message-id/f3ecd4cb-85ee-4e54-8278-5fabfb3a4ed0@iki.fi Backpatch-through: v14
Diffstat (limited to 'src/common/relpath.c')
0 files changed, 0 insertions, 0 deletions