Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit70e8186

Browse files
committed
Split xlog.c into xlog.c and xlogrecovery.c.
This moves the functions related to performing WAL recovery into the newxlogrecovery.c source file, leaving xlog.c responsible for maintainingthe WAL buffers, coordinating the startup and switch from recovery tonormal operations, and other miscellaneous stuff that have always been inxlog.c.Reviewed-by: Andres Freund, Kyotaro Horiguchi, Robert HaasDiscussion:https://www.postgresql.org/message-id/a31f27b4-a31d-f976-6217-2b03be646ffa%40iki.fi
1 parentbe1c00a commit70e8186

File tree

22 files changed

+4982
-4449
lines changed

22 files changed

+4982
-4449
lines changed

‎contrib/pg_prewarm/autoprewarm.c

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp