Skip to content

Commit f5d576c

Browse files
committed
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.
1 parent b53b603 commit f5d576c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/postmaster/pgarch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ pgarch_ArchiverCopyLoop(void)
503503
if (++failures >= NUM_ARCHIVE_RETRIES)
504504
{
505505
ereport(WARNING,
506-
(errmsg("transaction log file \"%s\" could not be archived: too many failures",
506+
(errmsg("archiving transaction log file \"%s\" failed too many times, will try again later",
507507
xlog)));
508508
return; /* give up archiving for now */
509509
}

0 commit comments

Comments
 (0)