Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c5f42ce

Browse files
committed
Fix Assert introduced in previous patch.
1 parent f0eb3e5 commit c5f42ce

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

src/backend/access/transam/xlog.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.301 2008/05/09 14:27:47 heikki Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.302 2008/05/09 15:27:17 heikki Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2507,7 +2507,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
25072507
ControlFile->checkPointCopy.ThisTimeLineID,
25082508
restartLog, restartSeg);
25092509
/* we shouldn't need anything earlier than last restart point */
2510-
Assert(strcmp(lastRestartPointFname, xlogfname) < 0);
2510+
Assert(strcmp(lastRestartPointFname, xlogfname) <= 0);
25112511
}
25122512
else
25132513
XLogFileName(lastRestartPointFname, 0, 0, 0);

0 commit comments

Comments
 (0)