From 9166ae25bc9067cbf6b439f4a66277578230fd21 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Mon, 18 Jun 2012 16:37:49 -0400 Subject: [PATCH] pg_dump: Fix verbosity level in LO progress messages In passing, reword another instance of the same message that was gratuitously different. Author: Josh Kupershmidt after a bug report by Bosco Rama --- src/bin/pg_dump/pg_backup_archiver.c | 2 +- src/bin/pg_dump/pg_backup_tar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c index b31ed90b49..9d56788daa 100644 --- a/src/bin/pg_dump/pg_backup_archiver.c +++ b/src/bin/pg_dump/pg_backup_archiver.c @@ -954,7 +954,7 @@ StartRestoreBlob(ArchiveHandle *AH, Oid oid, bool drop) /* Initialize the LO Buffer */ AH->lo_buf_used = 0; - ahlog(AH, 2, "restoring large object with OID %u\n", oid); + ahlog(AH, 1, "restoring large object with OID %u\n", oid); /* With an old archive we must do drop and create logic here */ if (old_blob_style && drop) diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c index 2871fee15d..f5ab5f35bf 100644 --- a/src/bin/pg_dump/pg_backup_tar.c +++ b/src/bin/pg_dump/pg_backup_tar.c @@ -726,7 +726,7 @@ _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt) oid = atooid(&th->targetFile[5]); if (oid != 0) { - ahlog(AH, 1, "restoring large object OID %u\n", oid); + ahlog(AH, 1, "restoring large object with OID %u\n", oid); StartRestoreBlob(AH, oid, ropt->dropSchema); -- 2.40.0