From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rename bbstreamer to astreamer.
Date: Mon, 05 Aug 2024 14:01:28 +0000
Message-ID: <E1sayHA-002nf0-30@gemulon.postgresql.org> (raw)
Rename bbstreamer to astreamer.
I (rhaas) intended "bbstreamer" to stand for "base backup streamer,"
but that implies that this infrastructure can only ever be used by
pg_basebackup. In fact, it is a generally useful way of streaming
data from a tar or compressed tar file, and it could be extended to
work with other archive formats as well if we ever wanted to do that.
Hence, rename it to "astreamer" (archive streamer) in preparation for
reusing the infrastructure from pg_verifybackup (and perhaps
eventually also other utilities, such as pg_combinebackup or
pg_waldump).
This is purely a renaming commit. Comment adjustments and relocation
of the actual code to someplace from which it can be reused are left
to future commits.
Amul Sul, reviewed by Sravan Kumar and by me.
Discussion: http://postgr.es/m/CAAJ_b94StvLWrc_p4q-f7n3OPfr6GhL8_XuAg2aAaYZp1tF-nw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3c905698114d6c4de4dc607c110c27e0723ae70c
Modified Files
--------------
src/bin/pg_basebackup/Makefile | 12 +-
src/bin/pg_basebackup/astreamer.h | 226 ++++++++++++++
.../{bbstreamer_file.c => astreamer_file.c} | 152 +++++-----
.../{bbstreamer_gzip.c => astreamer_gzip.c} | 156 +++++-----
.../{bbstreamer_inject.c => astreamer_inject.c} | 156 +++++-----
.../{bbstreamer_lz4.c => astreamer_lz4.c} | 178 +++++------
.../{bbstreamer_tar.c => astreamer_tar.c} | 324 ++++++++++-----------
.../{bbstreamer_zstd.c => astreamer_zstd.c} | 166 +++++------
src/bin/pg_basebackup/bbstreamer.h | 226 --------------
src/bin/pg_basebackup/meson.build | 12 +-
src/bin/pg_basebackup/nls.mk | 12 +-
src/bin/pg_basebackup/pg_basebackup.c | 104 +++----
src/tools/pgindent/typedefs.list | 26 +-
13 files changed, 875 insertions(+), 875 deletions(-)
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Rename bbstreamer to astreamer.
In-Reply-To: <E1sayHA-002nf0-30@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