summaryrefslogtreecommitdiff
path: root/src/backend/backup
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/backup')
-rw-r--r--src/backend/backup/walsummary.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/backup/walsummary.c b/src/backend/backup/walsummary.c
index b549673a9df..ae314d8b74d 100644
--- a/src/backend/backup/walsummary.c
+++ b/src/backend/backup/walsummary.c
@@ -251,8 +251,15 @@ RemoveWalSummaryIfOlderThan(WalSummaryFile *ws, time_t cutoff_time)
ereport(ERROR,
(errcode_for_file_access(),
errmsg("could not stat file \"%s\": %m", path)));
+ /* XXX temporarily changed to debug buildfarm failures */
+#if 0
ereport(DEBUG2,
(errmsg_internal("removing file \"%s\"", path)));
+#else
+ ereport(LOG,
+ (errmsg_internal("removing file \"%s\" cutoff_time=%llu", path,
+ (unsigned long long) cutoff_time)));
+#endif
}
/*