]> granicus.if.org Git - postgresql/commitdiff
pg_dump: Fix verbosity level in LO progress messages
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 18 Jun 2012 20:37:49 +0000 (16:37 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 19 Jun 2012 21:23:02 +0000 (17:23 -0400)
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
src/bin/pg_dump/pg_backup_tar.c

index 93e6fd14bc6300720f093152dacb9fe01b217828..7b1bf94630266717d299cbd1ab70bc37c7d77040 100644 (file)
@@ -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)
index 041f9f9cbbb61acc40439626a1d6badd7ecef914..7459d50f73326f424a393b0a0e3a8e69bcf6dfea 100644 (file)
@@ -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);