git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 083e1b0)
Fix crashing bug at the end of recovery in Streaming Replication, when
2010年1月28日 19:17:22 +0000 (19:17 +0000)
2010年1月28日 19:17:22 +0000 (19:17 +0000)
restore_command is not given. Fujii Masao.


diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index e8e79b380eef83323e63567bdca465a798ed2b7e..5bee1d8837d260fcacfaed6466eeb5c765ca4120 100644 (file)
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.363 2010年01月27日 16:41:09 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.364 2010年01月28日 19:17:22 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2760,7 +2760,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
uint32 restartSeg;
/* In standby mode, restore_command might not be supplied */
- if (StandbyMode && recoveryRestoreCommand == NULL)
+ if (recoveryRestoreCommand == NULL)
goto not_available;
/*
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /