Fix compilation on Windows with WAL_DEBUG
authorMichael Paquier <michael@paquier.xyz>
Wed, 6 Dec 2023 05:11:41 +0000 (14:11 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 6 Dec 2023 05:11:41 +0000 (14:11 +0900)
commit6248a2bb92ccd4c591437c415775ab3b34c61d4c
tree774896a4411d1c7663d245b7e5866451960745bd
parenta499c08dca5e0162e210cc8a411698e2808a04da
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