Split xlog.c into xlog.c and xlogrecovery.c.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 70e81861fadd9112fa2d425c762e163910a4ee52
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2022-02-16T07:30:38Z
Releases: 15.0
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

Files

Discussion