Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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:26:44 +0000 (17:26 -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 cec764fd59cea9e5a4ef2ba8ecd8f5bff8ba99f3..cb8e583c50f4fbb42569beed4b1b42d8db3d88af 100644 (file)
@@ -755,7 +755,7 @@ StartRestoreBlob(ArchiveHandle *AH, Oid oid)
    /* 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);
 
    if (AH->connection)
    {
index ddab506bf43c1fe9615888182a8de555bf7d7ff7..5f995209839340d0e6441c7aa2d7ff0026671757 100644 (file)
@@ -729,7 +729,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);