diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2008-05-09 15:28:01 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2008-05-09 15:28:01 +0000 |
commit | 1a107363e2b0acbdc5da2ab2ddb1376927d91435 (patch) | |
tree | 4e91ee008ffa83f705df5a114cfee048307bbd9a /src/backend/access/transam/xlog.c | |
parent | 48bf6642c3d9cd204a0b9ab2c418bd26a7d70539 (diff) | |
download | postgresql-1a107363e2b0acbdc5da2ab2ddb1376927d91435.tar.gz postgresql-1a107363e2b0acbdc5da2ab2ddb1376927d91435.zip |
Fix Assert introduced in previous patch.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 146ac3ae88c..75faf541368 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.292.2.2 2008/05/09 14:28:08 heikki Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.292.2.3 2008/05/09 15:28:01 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -2506,7 +2506,7 @@ RestoreArchivedFile(char *path, const char *xlogfname, ControlFile->checkPointCopy.ThisTimeLineID, restartLog, restartSeg); /* we shouldn't need anything earlier than last restart point */ - Assert(strcmp(lastRestartPointFname, xlogfname) < 0); + Assert(strcmp(lastRestartPointFname, xlogfname) <= 0); } else XLogFileName(lastRestartPointFname, 0, 0, 0); |