projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b53b603
)
Improve message about failed transaction log archiving
author
Peter Eisentraut
<peter_e@gmx.net>
Sat, 27 Apr 2013 02:43:54 +0000
(22:43 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Sat, 27 Apr 2013 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.
src/backend/postmaster/pgarch.c
patch
|
blob
|
blame
|
history
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 */
}