@@ -4976,9 +4976,10 @@ readRecoveryCommandFile(void)
49764976else
49774977ereport (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
49834984ereport (DEBUG2 ,
49844985(errmsg_internal ("recovery_target_action = '%s'" ,
@@ -5058,7 +5059,9 @@ readRecoveryCommandFile(void)
50585059else
50595060ereport (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 ),
50625065errhint ("The only allowed value is \"immediate\"." )));
50635066ereport (DEBUG2 ,
50645067(errmsg_internal ("recovery_target = '%s'" ,
@@ -6142,15 +6145,15 @@ StartupXLOG(void)
61426145unlink (TABLESPACE_MAP_OLD );
61436146if (rename (TABLESPACE_MAP ,TABLESPACE_MAP_OLD )== 0 )
61446147ereport (LOG ,
6145- (errmsg ("ignoring \"%s\"file because no \"%s\" file exists" ,
6148+ (errmsg ("ignoringfile \"%s\" because nofile \"%s\" exists" ,
61466149TABLESPACE_MAP ,BACKUP_LABEL_FILE ),
61476150errdetail ("File \"%s\" was renamed to \"%s\"." ,
61486151TABLESPACE_MAP ,TABLESPACE_MAP_OLD )));
61496152else
61506153ereport (LOG ,
61516154(errmsg ("ignoring \"%s\" file because no \"%s\" file exists" ,
61526155TABLESPACE_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." ,
61546157TABLESPACE_MAP ,TABLESPACE_MAP_OLD )));
61556158}
61566159
@@ -6281,24 +6284,24 @@ StartupXLOG(void)
62816284LastRec = RecPtr = checkPointLoc ;
62826285
62836286ereport (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 ,
62866289wasShutdown ?"TRUE" :"FALSE" )));
62876290ereport (DEBUG1 ,
6288- (errmsg ("next transaction ID: %u/%u; next OID: %u" ,
6291+ (errmsg_internal ("next transaction ID: %u/%u; next OID: %u" ,
62896292checkPoint .nextXidEpoch ,checkPoint .nextXid ,
62906293checkPoint .nextOid )));
62916294ereport (DEBUG1 ,
6292- (errmsg ("next MultiXactId: %u; next MultiXactOffset: %u" ,
6295+ (errmsg_internal ("next MultiXactId: %u; next MultiXactOffset: %u" ,
62936296checkPoint .nextMulti ,checkPoint .nextMultiOffset )));
62946297ereport (DEBUG1 ,
6295- (errmsg ("oldest unfrozen transaction ID: %u, in database %u" ,
6298+ (errmsg_internal ("oldest unfrozen transaction ID: %u, in database %u" ,
62966299checkPoint .oldestXid ,checkPoint .oldestXidDB )));
62976300ereport (DEBUG1 ,
6298- (errmsg ("oldest MultiXactId: %u, in database %u" ,
6301+ (errmsg_internal ("oldest MultiXactId: %u, in database %u" ,
62996302checkPoint .oldestMulti ,checkPoint .oldestMultiDB )));
63006303ereport (DEBUG1 ,
6301- (errmsg ("commit timestamp Xid oldest/newest: %u/%u" ,
6304+ (errmsg_internal ("commit timestamp Xid oldest/newest: %u/%u" ,
63026305checkPoint .oldestCommitTs ,
63036306checkPoint .newestCommitTs )));
63046307if (!TransactionIdIsNormal (checkPoint .nextXid ))