Обсуждение: pgsql: Fix variable usage in wakeupWaiters()

Поиск
Список
Период
Сортировка

pgsql: Fix variable usage in wakeupWaiters()

От
Alexander Korotkov
Дата:
Fix variable usage in wakeupWaiters()

Mistakenly, `i` was used both as an integer representation of lsnType and
an index in wakeUpProcs array.

Discussion: https://postgr.es/m/CA%2BhUKG%2BL0OQR8dQtsNBSaA3FNNyQeFabdeRVzurm0b7Xtp592g%40mail.gmail.com
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Reviewed-by: Ruikai Peng <ruikai@pwno.io>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bf308639bfcfa38541e24733e074184153a8ab7f

Modified Files
--------------
src/backend/access/transam/xlogwait.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)