git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b53b603)
Improve message about failed transaction log archiving
2013年4月27日 02:43:54 +0000 (22:43 -0400)
2013年4月27日 02:43:54 +0000 (22:43 -0400)
The old phrasing appeared to imply that the failure was terminal.
Improve that by indicating that archiving will be tried again later.


diff --git a/src/backend/postmaster/pgarch.c b/src/backend/postmaster/pgarch.c
index 3ddd59664765ae09f78a723adbce1eef4ca73f6c..ffd4830cb0538d6c64f37eb8a68aa9888490ebc4 100644 (file)
--- 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 */
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /