Fix compilation on Windows with WAL_DEBUG
authorMichael Paquier <michael@paquier.xyz>
Wed, 6 Dec 2023 05:10:39 +0000 (14:10 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 6 Dec 2023 05:10:39 +0000 (14:10 +0900)
commit7636725b922c8cd68f21d040f3542d3bce9c68a4
tree046c2f13d3ecb665e4fee845389665f3262b995d
parentbfc677c3bc31658957f601886352901fdd8c2811
Fix compilation on Windows with WAL_DEBUG

This has been broken since b060dbe0001a that has reworked the callback
mechanism of XLogReader, most likely unnoticed because any form of
development involving WAL happens on platforms where this compiles fine.

Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACVF14WKQMFwcJ=3okVDhiXpuK5f7YdT+BdYXbbypMHqWA@mail.gmail.com
Backpatch-through: 13
src/backend/access/transam/xlog.c