@@ -4976,9 +4976,10 @@ readRecoveryCommandFile(void)
49764976 else
49774977 ereport (ERROR ,
49784978 (errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
4979- errmsg ("invalid value for recovery parameter \"%s\"" ,
4980- "recovery_target_action" ),
4981- errhint ("The allowed values are \"pause\", \"promote\", and \"shutdown\"." )));
4979+ errmsg ("invalid value for recovery parameter \"%s\": \"%s\"" ,
4980+ "recovery_target_action" ,
4981+ item -> value ),
4982+ errhint ("Valid values are \"pause\", \"promote\", and \"shutdown\"." )));
49824983
49834984 ereport (DEBUG2 ,
49844985 (errmsg_internal ("recovery_target_action = '%s'" ,
@@ -5058,7 +5059,9 @@ readRecoveryCommandFile(void)
50585059 else
50595060 ereport (ERROR ,
50605061 (errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
5061- errmsg ("invalid value for recovery parameter \"recovery_target\"" ),
5062+ errmsg ("invalid value for recovery parameter \"%s\": \"%s\"" ,
5063+ "recovery_target" ,
5064+ item -> value ),
50625065 errhint ("The only allowed value is \"immediate\"." )));
50635066 ereport (DEBUG2 ,
50645067 (errmsg_internal ("recovery_target = '%s'" ,
@@ -6142,15 +6145,15 @@ StartupXLOG(void)
61426145 unlink (TABLESPACE_MAP_OLD );
61436146 if (rename (TABLESPACE_MAP , TABLESPACE_MAP_OLD ) == 0 )
61446147 ereport (LOG ,
6145- (errmsg ("ignoring \"%s\" file because no \"%s\" file exists" ,
6148+ (errmsg ("ignoring file \"%s\" because no file \"%s\" exists" ,
61466149 TABLESPACE_MAP , BACKUP_LABEL_FILE ),
61476150 errdetail ("File \"%s\" was renamed to \"%s\"." ,
61486151 TABLESPACE_MAP , TABLESPACE_MAP_OLD )));
61496152 else
61506153 ereport (LOG ,
61516154 (errmsg ("ignoring \"%s\" file because no \"%s\" file exists" ,
61526155 TABLESPACE_MAP , BACKUP_LABEL_FILE ),
6153- errdetail ("File \"%s\" could not be renamed to \"%s\": %m." ,
6156+ errdetail ("Could not rename file \"%s\" to \"%s\": %m." ,
61546157 TABLESPACE_MAP , TABLESPACE_MAP_OLD )));
61556158 }
61566159
@@ -6281,24 +6284,24 @@ StartupXLOG(void)
62816284 LastRec = RecPtr = checkPointLoc ;
62826285
62836286 ereport (DEBUG1 ,
6284- (errmsg ("redo record is at %X/%X; shutdown %s" ,
6287+ (errmsg_internal ("redo record is at %X/%X; shutdown %s" ,
62856288 (uint32 ) (checkPoint .redo >> 32 ), (uint32 ) checkPoint .redo ,
62866289 wasShutdown ? "TRUE" : "FALSE" )));
62876290 ereport (DEBUG1 ,
6288- (errmsg ("next transaction ID: %u/%u; next OID: %u" ,
6291+ (errmsg_internal ("next transaction ID: %u/%u; next OID: %u" ,
62896292 checkPoint .nextXidEpoch , checkPoint .nextXid ,
62906293 checkPoint .nextOid )));
62916294 ereport (DEBUG1 ,
6292- (errmsg ("next MultiXactId: %u; next MultiXactOffset: %u" ,
6295+ (errmsg_internal ("next MultiXactId: %u; next MultiXactOffset: %u" ,
62936296 checkPoint .nextMulti , checkPoint .nextMultiOffset )));
62946297 ereport (DEBUG1 ,
6295- (errmsg ("oldest unfrozen transaction ID: %u, in database %u" ,
6298+ (errmsg_internal ("oldest unfrozen transaction ID: %u, in database %u" ,
62966299 checkPoint .oldestXid , checkPoint .oldestXidDB )));
62976300 ereport (DEBUG1 ,
6298- (errmsg ("oldest MultiXactId: %u, in database %u" ,
6301+ (errmsg_internal ("oldest MultiXactId: %u, in database %u" ,
62996302 checkPoint .oldestMulti , checkPoint .oldestMultiDB )));
63006303 ereport (DEBUG1 ,
6301- (errmsg ("commit timestamp Xid oldest/newest: %u/%u" ,
6304+ (errmsg_internal ("commit timestamp Xid oldest/newest: %u/%u" ,
63026305 checkPoint .oldestCommitTs ,
63036306 checkPoint .newestCommitTs )));
63046307 if (!TransactionIdIsNormal (checkPoint .nextXid ))
0 commit comments