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 <[email protected]> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d6ef8ee3ee29ffa404bcd920e02fb4b196e07b0d Modified Files -------------- src/backend/access/transam/xlogwait.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
