提交 11b335ac 编写于 作者: A Alvaro Herrera

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
上级 c521665b
...@@ -1018,7 +1018,7 @@ StartRestoreBlob(ArchiveHandle *AH, Oid oid, bool drop) ...@@ -1018,7 +1018,7 @@ StartRestoreBlob(ArchiveHandle *AH, Oid oid, bool drop)
/* Initialize the LO Buffer */ /* Initialize the LO Buffer */
AH->lo_buf_used = 0; 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 */ /* With an old archive we must do drop and create logic here */
if (old_blob_style && drop) if (old_blob_style && drop)
......
...@@ -728,7 +728,7 @@ _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt) ...@@ -728,7 +728,7 @@ _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt)
oid = atooid(&th->targetFile[5]); oid = atooid(&th->targetFile[5]);
if (oid != 0) 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); StartRestoreBlob(AH, oid, ropt->dropSchema);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册