diff options
| author | Alexander Korotkov <akorotkov@postgresql.org> | 2025-12-04 10:38:12 +0200 |
|---|---|---|
| committer | Alexander Korotkov <akorotkov@postgresql.org> | 2025-12-04 10:38:12 +0200 |
| commit | d6ef8ee3ee29ffa404bcd920e02fb4b196e07b0d (patch) | |
| tree | f232804b95f47a406d033f323175a779dc6e3944 /src/backend/utils/cache | |
| parent | 6c5c393b74031351721f8a44e55bfaf6f249eefb (diff) | |
Fix incorrect assertion bound in WaitForLSN()
The assertion checking MyProcNumber used MaxBackends as the upper
bound, but the procInfos array is allocated with size
MaxBackends + NUM_AUXILIARY_PROCS. This inconsistency would cause
a false assertion failure if an auxiliary process calls WaitForLSN().
Author: Xuneng Zhou <xunengzhou@gmail.com>
Diffstat (limited to 'src/backend/utils/cache')
0 files changed, 0 insertions, 0 deletions
