pgsql: Rename bbstreamer to astreamer.
От | Robert Haas |
---|---|
Тема | pgsql: Rename bbstreamer to astreamer. |
Дата | |
Msg-id | E1sayHA-002nf0-30@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
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(-)
В списке pgsql-committers по дате отправления: