@@ -2837,7 +2837,7 @@ UpdateMinRecoveryPoint(XLogRecPtr lsn, bool force)
2837
2837
minRecoveryPointTLI = newMinRecoveryPointTLI ;
2838
2838
2839
2839
ereport (DEBUG2 ,
2840
- (errmsg ("updated min recovery point to %X/%X on timeline %u" ,
2840
+ (errmsg_internal ("updated min recovery point to %X/%X on timeline %u" ,
2841
2841
(uint32 ) (minRecoveryPoint >>32 ),
2842
2842
(uint32 )minRecoveryPoint ,
2843
2843
newMinRecoveryPointTLI )));
@@ -4209,7 +4209,7 @@ RemoveXlogFile(const char *segname, XLogSegNo recycleSegNo,
4209
4209
true,recycleSegNo , true))
4210
4210
{
4211
4211
ereport (DEBUG2 ,
4212
- (errmsg ("recycled write-ahead log file \"%s\"" ,
4212
+ (errmsg_internal ("recycled write-ahead log file \"%s\"" ,
4213
4213
segname )));
4214
4214
CheckpointStats .ckpt_segs_recycled ++ ;
4215
4215
/* Needn't recheck that slot on future iterations */
@@ -4221,7 +4221,7 @@ RemoveXlogFile(const char *segname, XLogSegNo recycleSegNo,
4221
4221
int rc ;
4222
4222
4223
4223
ereport (DEBUG2 ,
4224
- (errmsg ("removing write-ahead log file \"%s\"" ,
4224
+ (errmsg_internal ("removing write-ahead log file \"%s\"" ,
4225
4225
segname )));
4226
4226
4227
4227
#ifdef WIN32
@@ -6597,7 +6597,7 @@ StartupXLOG(void)
6597
6597
memcpy (& checkPoint ,XLogRecGetData (xlogreader ),sizeof (CheckPoint ));
6598
6598
wasShutdown = ((record -> xl_info & ~XLR_INFO_MASK )== XLOG_CHECKPOINT_SHUTDOWN );
6599
6599
ereport (DEBUG1 ,
6600
- (errmsg ("checkpoint record is at %X/%X" ,
6600
+ (errmsg_internal ("checkpoint record is at %X/%X" ,
6601
6601
(uint32 ) (checkPointLoc >>32 ), (uint32 )checkPointLoc )));
6602
6602
InRecovery = true;/* force recovery even if SHUTDOWNED */
6603
6603
@@ -6730,7 +6730,7 @@ StartupXLOG(void)
6730
6730
if (record != NULL )
6731
6731
{
6732
6732
ereport (DEBUG1 ,
6733
- (errmsg ("checkpoint record is at %X/%X" ,
6733
+ (errmsg_internal ("checkpoint record is at %X/%X" ,
6734
6734
(uint32 ) (checkPointLoc >>32 ), (uint32 )checkPointLoc )));
6735
6735
}
6736
6736
else
@@ -7118,7 +7118,7 @@ StartupXLOG(void)
7118
7118
int nxids ;
7119
7119
7120
7120
ereport (DEBUG1 ,
7121
- (errmsg ("initializing for hot standby" )));
7121
+ (errmsg_internal ("initializing for hot standby" )));
7122
7122
7123
7123
InitRecoveryTransactionEnvironment ();
7124
7124
@@ -8933,7 +8933,7 @@ CreateCheckPoint(int flags)
8933
8933
WALInsertLockRelease ();
8934
8934
END_CRIT_SECTION ();
8935
8935
ereport (DEBUG1 ,
8936
- (errmsg ("checkpoint skipped because system is idle" )));
8936
+ (errmsg_internal ("checkpoint skipped because system is idle" )));
8937
8937
return ;
8938
8938
}
8939
8939
}
@@ -9399,7 +9399,7 @@ CreateRestartPoint(int flags)
9399
9399
if (!RecoveryInProgress ())
9400
9400
{
9401
9401
ereport (DEBUG2 ,
9402
- (errmsg ("skipping restartpoint, recovery has already ended" )));
9402
+ (errmsg_internal ("skipping restartpoint, recovery has already ended" )));
9403
9403
return false;
9404
9404
}
9405
9405
@@ -9421,7 +9421,7 @@ CreateRestartPoint(int flags)
9421
9421
lastCheckPoint .redo <=ControlFile -> checkPointCopy .redo )
9422
9422
{
9423
9423
ereport (DEBUG2 ,
9424
- (errmsg ("skipping restartpoint, already performed at %X/%X" ,
9424
+ (errmsg_internal ("skipping restartpoint, already performed at %X/%X" ,
9425
9425
(uint32 ) (lastCheckPoint .redo >>32 ),
9426
9426
(uint32 )lastCheckPoint .redo )));
9427
9427
@@ -11763,12 +11763,12 @@ read_backup_label(XLogRecPtr *checkPointLoc, bool *backupEndRequired,
11763
11763
*/
11764
11764
if (fscanf (lfp ,"START TIME: %127[^\n]\n" ,backuptime )== 1 )
11765
11765
ereport (DEBUG1 ,
11766
- (errmsg ("backup time %s in file \"%s\"" ,
11766
+ (errmsg_internal ("backup time %s in file \"%s\"" ,
11767
11767
backuptime ,BACKUP_LABEL_FILE )));
11768
11768
11769
11769
if (fscanf (lfp ,"LABEL: %1023[^\n]\n" ,backuplabel )== 1 )
11770
11770
ereport (DEBUG1 ,
11771
- (errmsg ("backup label %s in file \"%s\"" ,
11771
+ (errmsg_internal ("backup label %s in file \"%s\"" ,
11772
11772
backuplabel ,BACKUP_LABEL_FILE )));
11773
11773
11774
11774
/*
@@ -11785,7 +11785,7 @@ read_backup_label(XLogRecPtr *checkPointLoc, bool *backupEndRequired,
11785
11785
tli_from_file ,tli_from_walseg )));
11786
11786
11787
11787
ereport (DEBUG1 ,
11788
- (errmsg ("backup timeline %u in file \"%s\"" ,
11788
+ (errmsg_internal ("backup timeline %u in file \"%s\"" ,
11789
11789
tli_from_file ,BACKUP_LABEL_FILE )));
11790
11790
}
11791
11791