summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gustafsson2023-02-24 07:49:28 +0000
committerDaniel Gustafsson2023-02-24 07:49:28 +0000
commit94851e4b905042de559d073b6590039ab4598c7c (patch)
tree05209b26cd416c807adfbfc648c3fa5b6ead238f /src
parent318b1c0cc1660c51c06a716de5d36367afa2499e (diff)
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 <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
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_backup_directory.c6
1 files 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;
}