postgres.git / summary / log / commit / refs

commit    45cd9199c2498b04cccc3989a5abbd04def806b3
Author:   Simon Riggs <simon@2ndQuadrant.com>
Date:     Thu Oct 14 18:06:06 2010 +0000
First released in: 9.1.0, 9.0.2

    Fix bug in comment of timeline history file.
    
    Fujii Masao


src/backend/access/transam/xlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", [parent: 816b008eaf1a]