pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_dump: Remove "blob" terminology
Date: Mon, 05 Dec 2022 08:03:20 +0000
Message-ID: <E1p26Rb-0024Zr-Hr@gemulon.postgresql.org> (raw)

pg_dump: Remove "blob" terminology

For historical reasons, pg_dump refers to large objects as "BLOBs".
This term is not used anywhere else in PostgreSQL, and it also means
something different in the SQL standard and other SQL systems.

This patch renames internal functions, code comments, documentation,
etc. to use the "large object" or "LO" terminology instead.  There is
no functionality change, so the archive format still uses the name
"BLOB" for the archive entry.  Additional long command-line options
are added with the new naming.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/868a381f-4650-9460-1726-1ffd39a270b4%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/35ce24c333cf6dee3c92bc5f67553c7720bd9988

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml               |  16 ++-
src/bin/pg_dump/pg_backup.h                 |  12 +-
src/bin/pg_dump/pg_backup_archiver.c        |  78 +++++-----
src/bin/pg_dump/pg_backup_archiver.h        |  34 ++---
src/bin/pg_dump/pg_backup_custom.c          |  66 ++++-----
src/bin/pg_dump/pg_backup_db.c              |   4 +-
src/bin/pg_dump/pg_backup_directory.c       | 112 +++++++--------
src/bin/pg_dump/pg_backup_null.c            |  50 +++----
src/bin/pg_dump/pg_backup_tar.c             |  68 ++++-----
src/bin/pg_dump/pg_dump.c                   | 216 ++++++++++++++--------------
src/bin/pg_dump/pg_dump.h                   |   8 +-
src/bin/pg_dump/pg_dump_sort.c              |  16 +--
src/bin/pg_dump/t/002_pg_dump.pl            |  46 +++---
src/test/modules/test_pg_dump/t/001_base.pl |   2 +-
14 files changed, 367 insertions(+), 361 deletions(-)



Message-ID: <E1p26Rb-0024Zr-Hr@gemulon.postgresql.org>
Permalink:  ../E1p26Rb-0024Zr-Hr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p26Rb-0024Zr-Hr@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: pg_dump: Remove "blob" terminology
  In-Reply-To: <E1p26Rb-0024Zr-Hr@gemulon.postgresql.org>
  References: <E1p26Rb-0024Zr-Hr@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox