From 94851e4b905042de559d073b6590039ab4598c7c Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Fri, 24 Feb 2023 08:49:28 +0100 Subject: [PATCH] pg_dump: Remove move "blob" terminology Commit e9960732a9618 accidentally introduced the blob terminology in error messages which had previously been altered by commit 35ce24c33 from "blob" to "LO". This reverts back to "LO". Reported-by: Kyotaro Horiguchi 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 --- src/bin/pg_dump/pg_backup_directory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/pg_dump/pg_backup_directory.c b/src/bin/pg_dump/pg_backup_directory.c index 79fa619ba5f..41c2b733e3e 100644 --- a/src/bin/pg_dump/pg_backup_directory.c +++ b/src/bin/pg_dump/pg_backup_directory.c @@ -691,13 +691,13 @@ _EndLO(ArchiveHandle *AH, TocEntry *te, Oid oid) /* Close the BLOB data file itself */ if (EndCompressFileHandle(ctx->dataFH) != 0) - pg_fatal("could not close blob data file: %m"); + pg_fatal("could not close LO data file: %m"); ctx->dataFH = NULL; /* register the LO in blobs.toc */ len = snprintf(buf, sizeof(buf), "%u blob_%u.dat\n", oid, oid); if (CFH->write_func(buf, len, CFH) != len) - pg_fatal("could not write to blobs TOC file"); + pg_fatal("could not write to LOs TOC file"); } /* @@ -711,7 +711,7 @@ _EndLOs(ArchiveHandle *AH, TocEntry *te) lclContext *ctx = (lclContext *) AH->formatData; if (EndCompressFileHandle(ctx->LOsTocFH) != 0) - pg_fatal("could not close blobs TOC file: %m"); + pg_fatal("could not close LOs TOC file: %m"); ctx->LOsTocFH = NULL; }