Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 70e8186

Browse files
committed
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
1 parent be1c00a commit 70e8186

File tree

22 files changed

+4982
-4449
lines changed

22 files changed

+4982
-4449
lines changed

contrib/pg_prewarm/autoprewarm.c

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include "postmaster/interrupt.h"
3939
#include "storage/buf_internals.h"
4040
#include "storage/dsm.h"
41+
#include "storage/fd.h"
4142
#include "storage/ipc.h"
4243
#include "storage/latch.h"
4344
#include "storage/lwlock.h"

src/backend/access/transam/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ OBJS = \
3232
xlogfuncs.o \
3333
xloginsert.o \
3434
xlogreader.o \
35+
xlogrecovery.o \
3536
xlogutils.o
3637

3738
include $(top_srcdir)/src/backend/common.mk

src/backend/access/transam/xact.c

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "access/xact.h"
3030
#include "access/xlog.h"
3131
#include "access/xloginsert.h"
32+
#include "access/xlogrecovery.h"
3233
#include "access/xlogutils.h"
3334
#include "catalog/index.h"
3435
#include "catalog/namespace.h"

0 commit comments

Comments
 (0)