summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2010-10-14 19:13:09 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2010-10-14 19:13:09 +0100
commit392e01a03a36bee3665fc1d9317f904cc8d2cda1 (patch)
treea7648504553354d885731c8c5dcbced8cd55b8ee /src
parent86d4cc4a2acedeacdaa3535113cb90dabbd752ea (diff)
Fix bug in comment of timeline history file.
Fujii Masao
Diffstat (limited to 'src')
-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 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",