@@ -2837,7 +2837,7 @@ UpdateMinRecoveryPoint(XLogRecPtr lsn, bool force)
28372837 minRecoveryPointTLI = newMinRecoveryPointTLI ;
28382838
28392839 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" ,
28412841 (uint32 ) (minRecoveryPoint >> 32 ),
28422842 (uint32 ) minRecoveryPoint ,
28432843 newMinRecoveryPointTLI )));
@@ -4209,7 +4209,7 @@ RemoveXlogFile(const char *segname, XLogSegNo recycleSegNo,
42094209 true, recycleSegNo , true))
42104210 {
42114211 ereport (DEBUG2 ,
4212- (errmsg ("recycled write-ahead log file \"%s\"" ,
4212+ (errmsg_internal ("recycled write-ahead log file \"%s\"" ,
42134213 segname )));
42144214 CheckpointStats .ckpt_segs_recycled ++ ;
42154215 /* Needn't recheck that slot on future iterations */
@@ -4221,7 +4221,7 @@ RemoveXlogFile(const char *segname, XLogSegNo recycleSegNo,
42214221 int rc ;
42224222
42234223 ereport (DEBUG2 ,
4224- (errmsg ("removing write-ahead log file \"%s\"" ,
4224+ (errmsg_internal ("removing write-ahead log file \"%s\"" ,
42254225 segname )));
42264226
42274227#ifdef WIN32
@@ -6597,7 +6597,7 @@ StartupXLOG(void)
65976597 memcpy (& checkPoint , XLogRecGetData (xlogreader ), sizeof (CheckPoint ));
65986598 wasShutdown = ((record -> xl_info & ~XLR_INFO_MASK ) == XLOG_CHECKPOINT_SHUTDOWN );
65996599 ereport (DEBUG1 ,
6600- (errmsg ("checkpoint record is at %X/%X" ,
6600+ (errmsg_internal ("checkpoint record is at %X/%X" ,
66016601 (uint32 ) (checkPointLoc >> 32 ), (uint32 ) checkPointLoc )));
66026602 InRecovery = true; /* force recovery even if SHUTDOWNED */
66036603
@@ -6730,7 +6730,7 @@ StartupXLOG(void)
67306730 if (record != NULL )
67316731 {
67326732 ereport (DEBUG1 ,
6733- (errmsg ("checkpoint record is at %X/%X" ,
6733+ (errmsg_internal ("checkpoint record is at %X/%X" ,
67346734 (uint32 ) (checkPointLoc >> 32 ), (uint32 ) checkPointLoc )));
67356735 }
67366736 else
@@ -7118,7 +7118,7 @@ StartupXLOG(void)
71187118 int nxids ;
71197119
71207120 ereport (DEBUG1 ,
7121- (errmsg ("initializing for hot standby" )));
7121+ (errmsg_internal ("initializing for hot standby" )));
71227122
71237123 InitRecoveryTransactionEnvironment ();
71247124
@@ -8933,7 +8933,7 @@ CreateCheckPoint(int flags)
89338933 WALInsertLockRelease ();
89348934 END_CRIT_SECTION ();
89358935 ereport (DEBUG1 ,
8936- (errmsg ("checkpoint skipped because system is idle" )));
8936+ (errmsg_internal ("checkpoint skipped because system is idle" )));
89378937 return ;
89388938 }
89398939 }
@@ -9399,7 +9399,7 @@ CreateRestartPoint(int flags)
93999399 if (!RecoveryInProgress ())
94009400 {
94019401 ereport (DEBUG2 ,
9402- (errmsg ("skipping restartpoint, recovery has already ended" )));
9402+ (errmsg_internal ("skipping restartpoint, recovery has already ended" )));
94039403 return false;
94049404 }
94059405
@@ -9421,7 +9421,7 @@ CreateRestartPoint(int flags)
94219421 lastCheckPoint .redo <= ControlFile -> checkPointCopy .redo )
94229422 {
94239423 ereport (DEBUG2 ,
9424- (errmsg ("skipping restartpoint, already performed at %X/%X" ,
9424+ (errmsg_internal ("skipping restartpoint, already performed at %X/%X" ,
94259425 (uint32 ) (lastCheckPoint .redo >> 32 ),
94269426 (uint32 ) lastCheckPoint .redo )));
94279427
@@ -11763,12 +11763,12 @@ read_backup_label(XLogRecPtr *checkPointLoc, bool *backupEndRequired,
1176311763 */
1176411764 if (fscanf (lfp , "START TIME: %127[^\n]\n" , backuptime ) == 1 )
1176511765 ereport (DEBUG1 ,
11766- (errmsg ("backup time %s in file \"%s\"" ,
11766+ (errmsg_internal ("backup time %s in file \"%s\"" ,
1176711767 backuptime , BACKUP_LABEL_FILE )));
1176811768
1176911769 if (fscanf (lfp , "LABEL: %1023[^\n]\n" , backuplabel ) == 1 )
1177011770 ereport (DEBUG1 ,
11771- (errmsg ("backup label %s in file \"%s\"" ,
11771+ (errmsg_internal ("backup label %s in file \"%s\"" ,
1177211772 backuplabel , BACKUP_LABEL_FILE )));
1177311773
1177411774 /*
@@ -11785,7 +11785,7 @@ read_backup_label(XLogRecPtr *checkPointLoc, bool *backupEndRequired,
1178511785 tli_from_file , tli_from_walseg )));
1178611786
1178711787 ereport (DEBUG1 ,
11788- (errmsg ("backup timeline %u in file \"%s\"" ,
11788+ (errmsg_internal ("backup timeline %u in file \"%s\"" ,
1178911789 tli_from_file , BACKUP_LABEL_FILE )));
1179011790 }
1179111791
0 commit comments