@@ -7927,7 +7927,7 @@ ShutdownXLOG(int code, Datum arg)
79277927{
79287928/* Don't be chatty in standalone mode */
79297929ereport (IsPostmasterEnvironment ?LOG :NOTICE ,
7930- (errmsg ("shutting down at %s" , current_time_as_str () )));
7930+ (errmsg ("shutting down" )));
79317931
79327932if (RecoveryInProgress ())
79337933CreateRestartPoint (CHECKPOINT_IS_SHUTDOWN |CHECKPOINT_IMMEDIATE );
@@ -7943,28 +7943,15 @@ ShutdownXLOG(int code, Datum arg)
79437943RequestXLogSwitch ();
79447944
79457945CreateCheckPoint (CHECKPOINT_IS_SHUTDOWN |CHECKPOINT_IMMEDIATE );
7946-
7947- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
7948- "shutdown checkpoint complete at %s" ,
7949- current_time_as_str ());
79507946}
79517947ShutdownCLOG ();
7952- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
7953- "ShutdownCLOG() complete at %s" ,
7954- current_time_as_str ());
79557948ShutdownCommitTs ();
7956- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
7957- "ShutdownCommitTs() complete at %s" ,
7958- current_time_as_str ());
79597949ShutdownSUBTRANS ();
7960- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
7961- "ShutdownSUBTRANS() complete at %s" ,
7962- current_time_as_str ());
79637950ShutdownMultiXact ();
79647951
79657952/* Don't be chatty in standalone mode */
79667953ereport (IsPostmasterEnvironment ?LOG :NOTICE ,
7967- (errmsg ("database system is shut down at %s" , current_time_as_str () )));
7954+ (errmsg ("database system is shut down" )));
79687955}
79697956
79707957/*
@@ -8436,9 +8423,6 @@ CreateCheckPoint(int flags)
84368423
84378424XLogFlush (recptr );
84388425
8439- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8440- "checkpoint WAL record flushed at %s" ,current_time_as_str ());
8441-
84428426/*
84438427 * We mustn't write any new WAL after a shutdown checkpoint, or it will be
84448428 * overwritten at next startup. No-one should even try, this just allows
@@ -8494,9 +8478,6 @@ CreateCheckPoint(int flags)
84948478UpdateControlFile ();
84958479LWLockRelease (ControlFileLock );
84968480
8497- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8498- "pg_control updated at %s" ,current_time_as_str ());
8499-
85008481/* Update shared-memory copy of checkpoint XID/epoch */
85018482SpinLockAcquire (& XLogCtl -> info_lck );
85028483XLogCtl -> ckptXidEpoch = checkPoint .nextXidEpoch ;
@@ -8514,9 +8495,6 @@ CreateCheckPoint(int flags)
85148495 */
85158496smgrpostckpt ();
85168497
8517- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8518- "smgrpostckpt() done at %s" ,current_time_as_str ());
8519-
85208498/*
85218499 * Delete old log files (those no longer needed even for previous
85228500 * checkpoint or the standbys in XLOG streaming).
@@ -8532,9 +8510,6 @@ CreateCheckPoint(int flags)
85328510KeepLogSeg (recptr ,& _logSegNo );
85338511_logSegNo -- ;
85348512RemoveOldXlogFiles (_logSegNo ,PriorRedoPtr ,recptr );
8535-
8536- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8537- "RemoveOldXlogFiles() done at %s" ,current_time_as_str ());
85388513}
85398514
85408515/*
@@ -8552,11 +8527,7 @@ CreateCheckPoint(int flags)
85528527 * StartupSUBTRANS hasn't been called yet.
85538528 */
85548529if (!RecoveryInProgress ())
8555- {
85568530TruncateSUBTRANS (GetOldestXmin (NULL , false));
8557- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8558- "TruncateSUBTRANS() done at %s" ,current_time_as_str ());
8559- }
85608531
85618532/* Real work is done, but log and update stats before releasing lock. */
85628533LogCheckpointEnd (false);
@@ -8631,45 +8602,19 @@ CreateEndOfRecoveryRecord(void)
86318602static void
86328603CheckPointGuts (XLogRecPtr checkPointRedo ,int flags )
86338604{
8634- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8635- "CheckPointGuts starting at %s" ,current_time_as_str ());
86368605CheckPointCLOG ();
8637- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8638- "CheckPointCLOG() done at %s" ,current_time_as_str ());
86398606CheckPointCommitTs ();
8640- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8641- "CheckPointCommitTs() done at %s" ,current_time_as_str ());
86428607CheckPointSUBTRANS ();
8643- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8644- "CheckPointSUBTRANS() done at %s" ,current_time_as_str ());
86458608CheckPointMultiXact ();
8646- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8647- "CheckPointMultiXact() done at %s" ,current_time_as_str ());
86488609CheckPointPredicate ();
8649- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8650- "CheckPointPredicate() done at %s" ,current_time_as_str ());
86518610CheckPointRelationMap ();
8652- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8653- "CheckPointRelationMap() done at %s" ,current_time_as_str ());
86548611CheckPointReplicationSlots ();
8655- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8656- "CheckPointReplicationSlots() done at %s" ,current_time_as_str ());
86578612CheckPointSnapBuild ();
8658- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8659- "CheckPointSnapBuild() done at %s" ,current_time_as_str ());
86608613CheckPointLogicalRewriteHeap ();
8661- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8662- "CheckPointLogicalRewriteHeap() done at %s" ,current_time_as_str ());
86638614CheckPointBuffers (flags );/* performs all required fsyncs */
8664- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8665- "CheckPointBuffers() done at %s" ,current_time_as_str ());
86668615CheckPointReplicationOrigin ();
8667- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8668- "CheckPointReplicationOrigin() done at %s" ,current_time_as_str ());
86698616/* We deliberately delay 2PC checkpointing as long as possible */
86708617CheckPointTwoPhase (checkPointRedo );
8671- elog (IsPostmasterEnvironment ?LOG :NOTICE ,
8672- "CheckPointGuts done at %s" ,current_time_as_str ());
86738618}
86748619
86758620/*