mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-13 14:58:35 +02:00
change WARNING message to LOG in verbose mode
This commit is contained in:
parent
d10e5f1871
commit
23abfcb5ce
3
data.c
3
data.c
@ -81,7 +81,8 @@ backup_data_page(pgFile *file, const XLogRecPtr *lsn,
|
|||||||
|
|
||||||
if (st.st_size/BLCKSZ <= blknum)
|
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 ",
|
"Expected nblocks %u. Real nblocks %ld. Cannot read block %u ",
|
||||||
file->path, nblocks, st.st_size/BLCKSZ, blknum);
|
file->path, nblocks, st.st_size/BLCKSZ, blknum);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user