1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-02-10 14:37:03 +02:00

change WARNING message to LOG in verbose mode

This commit is contained in:
Anastasia 2017-02-15 18:49:46 +03:00
parent d10e5f1871
commit 23abfcb5ce

3
data.c
View File

@ -81,7 +81,8 @@ backup_data_page(pgFile *file, const XLogRecPtr *lsn,
if (st.st_size/BLCKSZ <= blknum)
{
elog(WARNING, "File: %s, file was truncated after backup start."
if (verbose)
elog(LOG, "File: %s, file was truncated after backup start."
"Expected nblocks %u. Real nblocks %ld. Cannot read block %u ",
file->path, nblocks, st.st_size/BLCKSZ, blknum);
return;