| From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix variable usage in wakeupWaiters() |
| Date: | 2026-01-06 08:04:35 |
| Message-ID: | E1vd23O-004oSi-1Y@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)munro(at)gmail(dot)com>
Reviewed-by: Ruikai Peng <ruikai(at)pwno(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2026-01-06 08:50:45 | pgsql: Add test coverage for indirection transformation |
| Previous Message | Michael Paquier | 2026-01-06 07:29:16 | pgsql: Use relation_close() more consistently in contrib/ |