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

Commitb0509ef

Browse files
committed
Fix crashing bug at the end of recovery in Streaming Replication, when
restore_command is not given. Fujii Masao.
1 parent083e1b0 commitb0509ef

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.363 2010/01/27 16:41:09 heikki Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.364 2010/01/28 19:17:22 heikki Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2760,7 +2760,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
27602760
uint32restartSeg;
27612761

27622762
/* In standby mode, restore_command might not be supplied */
2763-
if (StandbyMode&&recoveryRestoreCommand==NULL)
2763+
if (recoveryRestoreCommand==NULL)
27642764
gotonot_available;
27652765

27662766
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp