aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_inline.cpp
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:51 +0200
commit4cf9ef670e4cb6c73aeaec8c1939f4aa26358353 (patch)
treeeca1ce3458651dd50e7c7eaf9f9d0f8d678c328e /src/backend/jit/llvm/llvmjit_inline.cpp
parent6614d38d8780670d2337090bdf2ec81c0b8bab8e (diff)
downloadpostgresql-4cf9ef670e4cb6c73aeaec8c1939f4aa26358353.tar.gz
postgresql-4cf9ef670e4cb6c73aeaec8c1939f4aa26358353.zip
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/backend/jit/llvm/llvmjit_inline.cpp')
0 files changed, 0 insertions, 0 deletions