aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2010-10-14 19:06:06 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2010-10-14 19:06:06 +0100
commit45cd9199c2498b04cccc3989a5abbd04def806b3 (patch)
tree7a0a14ee6f963896b78db37f95c7d0a182de1000
parent816b008eaf1a1ff1069f3bafff363a9a8bf04a21 (diff)
downloadpostgresql-45cd9199c2498b04cccc3989a5abbd04def806b3.tar.gz
postgresql-45cd9199c2498b04cccc3989a5abbd04def806b3.zip
Fix bug in comment of timeline history file.
Fujii Masao
-rw-r--r--src/backend/access/transam/xlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 5aae282acd8..50e9ca3da12 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",