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

Commit87d84d6

Browse files
committed
Fix start WAL filename for concurrent backups from standby
On a standby, ThisTimelineID is always 0, so we would generate afilename in timeline 0 even for other timelines. Instead, use starttliwhich we have retreived from the controlfile.Report by: Francesco Canovai in bug #14230Author: Marco NenciariniReviewed by: Michael Paquier and Amit Kapila
1 parent96112ee commit87d84d6

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9974,7 +9974,7 @@ do_pg_start_backup(const char *backupidstr, bool fast, TimeLineID *starttli_p,
99749974
}while (!gotUniqueStartpoint);
99759975

99769976
XLByteToSeg(startpoint,_logSegNo);
9977-
XLogFileName(xlogfilename,ThisTimeLineID,_logSegNo);
9977+
XLogFileName(xlogfilename,starttli,_logSegNo);
99789978

99799979
/*
99809980
* Construct tablespace_map file

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp