From: Alvaro Herrera Date: Mon, 18 Jun 2012 20:37:49 +0000 (-0400) Subject: pg_dump: Fix verbosity level in LO progress messages X-Git-Tag: REL9_1_5~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=348f5043173260d438735e3a9e4a8ef1bd099686;p=postgresql 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 --- diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c index 93e6fd14bc..7b1bf94630 100644 --- a/src/bin/pg_dump/pg_backup_archiver.c +++ b/src/bin/pg_dump/pg_backup_archiver.c @@ -965,7 +965,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 041f9f9cbb..7459d50f73 100644 --- a/src/bin/pg_dump/pg_backup_tar.c +++ b/src/bin/pg_dump/pg_backup_tar.c @@ -730,7 +730,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);