Fix compilation on Windows with WAL_DEBUG

Michael Paquier <michael@paquier.xyz>

Commit: c49b6cab1e666dd4f2e3bd38c4d2dbba9a560df6
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-12-06T05:11:46Z
Releases: 14.11
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

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +4 −2

Discussion