mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Message style fixes
This commit is contained in:
@@ -11297,7 +11297,7 @@ read_backup_label(XLogRecPtr *checkPointLoc, bool *backupEndRequired,
|
||||
ereport(FATAL,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("invalid data in file \"%s\"", BACKUP_LABEL_FILE),
|
||||
errdetail("Timeline ID parsed is %u, but expected %u",
|
||||
errdetail("Timeline ID parsed is %u, but expected %u.",
|
||||
tli_from_file, tli_from_walseg)));
|
||||
|
||||
ereport(DEBUG1,
|
||||
|
@@ -726,7 +726,7 @@ pg_promote(PG_FUNCTION_ARGS)
|
||||
if (wait_seconds <= 0)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
|
||||
errmsg("\"wait_seconds\" cannot be negative or equal zero")));
|
||||
errmsg("\"wait_seconds\" must not be negative or zero")));
|
||||
|
||||
/* create the promote signal file */
|
||||
promote_file = AllocateFile(PROMOTE_SIGNAL_FILE, "w");
|
||||
|
Reference in New Issue
Block a user