From 70e81861fadd9112fa2d425c762e163910a4ee52 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Wed, 16 Feb 2022 09:30:38 +0200 Subject: Split xlog.c into xlog.c and xlogrecovery.c. This moves the functions related to performing WAL recovery into the new xlogrecovery.c source file, leaving xlog.c responsible for maintaining the WAL buffers, coordinating the startup and switch from recovery to normal operations, and other miscellaneous stuff that have always been in xlog.c. Reviewed-by: Andres Freund, Kyotaro Horiguchi, Robert Haas Discussion: https://www.postgresql.org/message-id/a31f27b4-a31d-f976-6217-2b03be646ffa%40iki.fi --- src/backend/replication/walreceiverfuncs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/replication/walreceiverfuncs.c') diff --git a/src/backend/replication/walreceiverfuncs.c b/src/backend/replication/walreceiverfuncs.c index c50728ea229..90798b9d537 100644 --- a/src/backend/replication/walreceiverfuncs.c +++ b/src/backend/replication/walreceiverfuncs.c @@ -23,6 +23,7 @@ #include #include "access/xlog_internal.h" +#include "access/xlogrecovery.h" #include "pgstat.h" #include "postmaster/startup.h" #include "replication/walreceiver.h" -- cgit v1.2.3