Skip to content

Commit 348f504

Browse files
committed
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
1 parent e23e17f commit 348f504

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ StartRestoreBlob(ArchiveHandle *AH, Oid oid, bool drop)
965965
/* Initialize the LO Buffer */
966966
AH->lo_buf_used = 0;
967967

968-
ahlog(AH, 2, "restoring large object with OID %u\n", oid);
968+
ahlog(AH, 1, "restoring large object with OID %u\n", oid);
969969

970970
/* With an old archive we must do drop and create logic here */
971971
if (old_blob_style && drop)

src/bin/pg_dump/pg_backup_tar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt)
730730
oid = atooid(&th->targetFile[5]);
731731
if (oid != 0)
732732
{
733-
ahlog(AH, 1, "restoring large object OID %u\n", oid);
733+
ahlog(AH, 1, "restoring large object with OID %u\n", oid);
734734

735735
StartRestoreBlob(AH, oid, ropt->dropSchema);
736736

0 commit comments

Comments
 (0)