Fix compilation on Windows with WAL_DEBUG

Michael Paquier <michael@paquier.xyz>

Commit: 7636725b922c8cd68f21d040f3542d3bce9c68a4
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-12-06T05:10:39Z
Releases: 17.0
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