mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Downgrade some low-level startup messages to DEBUG1.
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.270 2007/05/30 20:11:55 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.271 2007/05/31 07:36:12 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -4702,7 +4702,7 @@ StartupXLOG(void)
|
|||||||
record = ReadCheckpointRecord(checkPointLoc, 0);
|
record = ReadCheckpointRecord(checkPointLoc, 0);
|
||||||
if (record != NULL)
|
if (record != NULL)
|
||||||
{
|
{
|
||||||
ereport(LOG,
|
ereport(DEBUG1,
|
||||||
(errmsg("checkpoint record is at %X/%X",
|
(errmsg("checkpoint record is at %X/%X",
|
||||||
checkPointLoc.xlogid, checkPointLoc.xrecoff)));
|
checkPointLoc.xlogid, checkPointLoc.xrecoff)));
|
||||||
InRecovery = true; /* force recovery even if SHUTDOWNED */
|
InRecovery = true; /* force recovery even if SHUTDOWNED */
|
||||||
@ -4726,7 +4726,7 @@ StartupXLOG(void)
|
|||||||
record = ReadCheckpointRecord(checkPointLoc, 1);
|
record = ReadCheckpointRecord(checkPointLoc, 1);
|
||||||
if (record != NULL)
|
if (record != NULL)
|
||||||
{
|
{
|
||||||
ereport(LOG,
|
ereport(DEBUG1,
|
||||||
(errmsg("checkpoint record is at %X/%X",
|
(errmsg("checkpoint record is at %X/%X",
|
||||||
checkPointLoc.xlogid, checkPointLoc.xrecoff)));
|
checkPointLoc.xlogid, checkPointLoc.xrecoff)));
|
||||||
}
|
}
|
||||||
@ -4751,15 +4751,15 @@ StartupXLOG(void)
|
|||||||
memcpy(&checkPoint, XLogRecGetData(record), sizeof(CheckPoint));
|
memcpy(&checkPoint, XLogRecGetData(record), sizeof(CheckPoint));
|
||||||
wasShutdown = (record->xl_info == XLOG_CHECKPOINT_SHUTDOWN);
|
wasShutdown = (record->xl_info == XLOG_CHECKPOINT_SHUTDOWN);
|
||||||
|
|
||||||
ereport(LOG,
|
ereport(DEBUG1,
|
||||||
(errmsg("redo record is at %X/%X; shutdown %s",
|
(errmsg("redo record is at %X/%X; shutdown %s",
|
||||||
checkPoint.redo.xlogid, checkPoint.redo.xrecoff,
|
checkPoint.redo.xlogid, checkPoint.redo.xrecoff,
|
||||||
wasShutdown ? "TRUE" : "FALSE")));
|
wasShutdown ? "TRUE" : "FALSE")));
|
||||||
ereport(LOG,
|
ereport(DEBUG1,
|
||||||
(errmsg("next transaction ID: %u/%u; next OID: %u",
|
(errmsg("next transaction ID: %u/%u; next OID: %u",
|
||||||
checkPoint.nextXidEpoch, checkPoint.nextXid,
|
checkPoint.nextXidEpoch, checkPoint.nextXid,
|
||||||
checkPoint.nextOid)));
|
checkPoint.nextOid)));
|
||||||
ereport(LOG,
|
ereport(DEBUG1,
|
||||||
(errmsg("next MultiXactId: %u; next MultiXactOffset: %u",
|
(errmsg("next MultiXactId: %u; next MultiXactOffset: %u",
|
||||||
checkPoint.nextMulti, checkPoint.nextMultiOffset)));
|
checkPoint.nextMulti, checkPoint.nextMultiOffset)));
|
||||||
if (!TransactionIdIsNormal(checkPoint.nextXid))
|
if (!TransactionIdIsNormal(checkPoint.nextXid))
|
||||||
|
Reference in New Issue
Block a user