From: Simon Riggs Date: Thu, 14 Oct 2010 18:06:06 +0000 (+0100) Subject: Fix bug in comment of timeline history file. X-Git-Tag: REL9_1_ALPHA2~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45cd9199c2498b04cccc3989a5abbd04def806b3;p=postgresql 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 5aae282acd..50e9ca3da1 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -4369,7 +4369,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",