Skip to content

Commit 11b335a

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 c521665 commit 11b335a

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
@@ -1018,7 +1018,7 @@ StartRestoreBlob(ArchiveHandle *AH, Oid oid, bool drop)
10181018
/* Initialize the LO Buffer */
10191019
AH->lo_buf_used = 0;
10201020

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

10231023
/* With an old archive we must do drop and create logic here */
10241024
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy