Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 94851e4

Browse files
pg_dump: Remove move "blob" terminology
Commit e996073 accidentally introduced the blob terminology in error messages which had previously been altered by commit 35ce24c from "blob" to "LO". This reverts back to "LO". Reported-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Discussion: https://postgr.es/m/20230224.163127.68506240520261483.horikyota.ntt@gmail.com Discussion: https://www.postgresql.org/message-id/flat/868a381f-4650-9460-1726-1ffd39a270b4%40enterprisedb.com
1 parent 318b1c0 commit 94851e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_dump/pg_backup_directory.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -691,13 +691,13 @@ _EndLO(ArchiveHandle *AH, TocEntry *te, Oid oid)
691691

692692
/* Close the BLOB data file itself */
693693
if (EndCompressFileHandle(ctx->dataFH) != 0)
694-
pg_fatal("could not close blob data file: %m");
694+
pg_fatal("could not close LO data file: %m");
695695
ctx->dataFH = NULL;
696696

697697
/* register the LO in blobs.toc */
698698
len = snprintf(buf, sizeof(buf), "%u blob_%u.dat\n", oid, oid);
699699
if (CFH->write_func(buf, len, CFH) != len)
700-
pg_fatal("could not write to blobs TOC file");
700+
pg_fatal("could not write to LOs TOC file");
701701
}
702702

703703
/*
@@ -711,7 +711,7 @@ _EndLOs(ArchiveHandle *AH, TocEntry *te)
711711
lclContext *ctx = (lclContext *) AH->formatData;
712712

713713
if (EndCompressFileHandle(ctx->LOsTocFH) != 0)
714-
pg_fatal("could not close blobs TOC file: %m");
714+
pg_fatal("could not close LOs TOC file: %m");
715715
ctx->LOsTocFH = NULL;
716716
}
717717

0 commit comments

Comments
 (0)