From f5d576c6d278a61beec282b9b276a3a3cb2aec50 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 26 Apr 2013 22:43:54 -0400 Subject: [PATCH] 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. --- src/backend/postmaster/pgarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/postmaster/pgarch.c b/src/backend/postmaster/pgarch.c index 3ddd596647..ffd4830cb0 100644 --- a/src/backend/postmaster/pgarch.c +++ b/src/backend/postmaster/pgarch.c @@ -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 */ }