Skip to content

Commit fe99122

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 f374098 commit fe99122

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
@@ -1052,7 +1052,7 @@ StartRestoreBlob(ArchiveHandle *AH, Oid oid, bool drop)
10521052
/* Initialize the LO Buffer */
10531053
AH->lo_buf_used = 0;
10541054

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

10571057
/* With an old archive we must do drop and create logic here */
10581058
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
@@ -728,7 +728,7 @@ _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt)
728728
oid = atooid(&th->targetFile[5]);
729729
if (oid != 0)
730730
{
731-
ahlog(AH, 1, "restoring large object OID %u\n", oid);
731+
ahlog(AH, 1, "restoring large object with OID %u\n", oid);
732732

733733
StartRestoreBlob(AH, oid, ropt->dropSchema);
734734

0 commit comments

Comments
 (0)