|
7 | 7 | * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group |
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California |
9 | 9 | * |
10 | | - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.301 2008/05/0914:27:47 heikki Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.302 2008/05/0915:27:17 heikki Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
@@ -2507,7 +2507,7 @@ RestoreArchivedFile(char *path, const char *xlogfname, |
2507 | 2507 | ControlFile->checkPointCopy.ThisTimeLineID, |
2508 | 2508 | restartLog,restartSeg); |
2509 | 2509 | /* we shouldn't need anything earlier than last restart point */ |
2510 | | -Assert(strcmp(lastRestartPointFname,xlogfname)<0); |
| 2510 | +Assert(strcmp(lastRestartPointFname,xlogfname) <=0); |
2511 | 2511 | } |
2512 | 2512 | else |
2513 | 2513 | XLogFileName(lastRestartPointFname,0,0,0); |
|