pgsql: Fix compilation on Windows with WAL_DEBUG

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix compilation on Windows with WAL_DEBUG
Date: 2023-12-06 05:12:26
Message-ID: E1rAkCv-008p8B-RJ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/87ed81a8739b2419ceb4818c469ce1c5d1ae98d2

Modified Files
--------------
src/backend/access/transam/xlog.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-12-06 09:23:11 pgsql: Use signal-safe functions in signal handler
Previous Message Michael Paquier 2023-12-06 01:01:57 pgsql: Apply filters to dump files all the time in 002_pg_upgrade.pl