mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Improve message about failed transaction log archiving
The old phrasing appeared to imply that the failure was terminal. Improve that by indicating that archiving will be tried again later.
This commit is contained in:
parent
b53b603c91
commit
f5d576c6d2
@ -503,7 +503,7 @@ pgarch_ArchiverCopyLoop(void)
|
||||
if (++failures >= NUM_ARCHIVE_RETRIES)
|
||||
{
|
||||
ereport(WARNING,
|
||||
(errmsg("transaction log file \"%s\" could not be archived: too many failures",
|
||||
(errmsg("archiving transaction log file \"%s\" failed too many times, will try again later",
|
||||
xlog)));
|
||||
return; /* give up archiving for now */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user