|
|
|
@ -7,7 +7,7 @@ |
|
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group |
|
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group |
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California |
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California |
|
|
|
* |
|
|
|
* |
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.76 2001/09/06 02:02:48 tgl Exp $ |
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.77 2001/09/26 20:24:02 tgl Exp $ |
|
|
|
* |
|
|
|
* |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -2462,7 +2462,6 @@ StartupXLOG(void) |
|
|
|
ReadControlFile(); |
|
|
|
ReadControlFile(); |
|
|
|
|
|
|
|
|
|
|
|
if (ControlFile->logSeg == 0 || |
|
|
|
if (ControlFile->logSeg == 0 || |
|
|
|
ControlFile->time <= 0 || |
|
|
|
|
|
|
|
ControlFile->state < DB_SHUTDOWNED || |
|
|
|
ControlFile->state < DB_SHUTDOWNED || |
|
|
|
ControlFile->state > DB_IN_PRODUCTION || |
|
|
|
ControlFile->state > DB_IN_PRODUCTION || |
|
|
|
!XRecOffIsValid(ControlFile->checkPoint.xrecoff)) |
|
|
|
!XRecOffIsValid(ControlFile->checkPoint.xrecoff)) |
|
|
|
|