aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-05-09 15:27:17 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-05-09 15:27:17 +0000
commitc5f42ce8d5bad857fb9479ea694517738198e0c4 (patch)
tree1a72596817cf24be64b730280551054f7a2510fb /src
parentf0eb3e5e580f0ac95cb451f931dac4352cb9adba (diff)
downloadpostgresql-c5f42ce8d5bad857fb9479ea694517738198e0c4.tar.gz
postgresql-c5f42ce8d5bad857fb9479ea694517738198e0c4.zip
Fix Assert introduced in previous patch.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index f0b86fdc714..05011b9df0c 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.301 2008/05/09 14:27:47 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.302 2008/05/09 15:27:17 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2507,7 +2507,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);