pgsql: Fix incorrect assertion bound in WaitForLSN()

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Fix incorrect assertion bound in WaitForLSN()
Дата
Msg-id E1vR57v-002jVa-22@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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>

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(-)


В списке pgsql-committers по дате отправления: