From: Simon Riggs Date: Thu, 14 Oct 2010 18:13:09 +0000 (+0100) Subject: Fix bug in comment of timeline history file. X-Git-Tag: REL9_0_2~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=392e01a03a36bee3665fc1d9317f904cc8d2cda1;p=thirdparty%2Fpostgresql.git Fix bug in comment of timeline history file. Fujii Masao --- diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 15b3476c26f..b70687bd37c 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -4361,7 +4361,7 @@ writeTimeLineHistory(TimeLineID newTLI, TimeLineID parentTLI, xlogfname, recoveryStopAfter ? "after" : "before", recoveryStopXid); - if (recoveryTarget == RECOVERY_TARGET_TIME) + else if (recoveryTarget == RECOVERY_TARGET_TIME) snprintf(buffer, sizeof(buffer), "%s%u\t%s\t%s %s\n", (srcfd < 0) ? "" : "\n",