Move astreamer (except astreamer_inject) to fe_utils.
authorRobert Haas <rhaas@postgresql.org>
Mon, 5 Aug 2024 15:40:29 +0000 (11:40 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 5 Aug 2024 15:41:57 +0000 (11:41 -0400)
commitf80b09bac87d6b49f5dbb6131da5fbd9b9773c5c
tree353896ae8f4a860c269ec705c4f1becddf4f90f1
parent53b2c921a0f9b56465ab65165c1909f9616ffa98
Move astreamer (except astreamer_inject) to fe_utils.

This allows the code to be used by other frontend applications.

Amul Sul, reviewed by Sravan Kumar, Andres Freund (whose input
I specifically solicited regarding the meson.build changes),
and me.

Discussion: http://postgr.es/m/CAAJ_b94StvLWrc_p4q-f7n3OPfr6GhL8_XuAg2aAaYZp1tF-nw@mail.gmail.com
12 files changed:
meson.build
src/bin/pg_basebackup/Makefile
src/bin/pg_basebackup/astreamer_inject.h
src/bin/pg_basebackup/meson.build
src/fe_utils/Makefile
src/fe_utils/astreamer_file.c [moved from src/bin/pg_basebackup/astreamer_file.c with 99% similarity]
src/fe_utils/astreamer_gzip.c [moved from src/bin/pg_basebackup/astreamer_gzip.c with 99% similarity]
src/fe_utils/astreamer_lz4.c [moved from src/bin/pg_basebackup/astreamer_lz4.c with 99% similarity]
src/fe_utils/astreamer_tar.c [moved from src/bin/pg_basebackup/astreamer_tar.c with 99% similarity]
src/fe_utils/astreamer_zstd.c [moved from src/bin/pg_basebackup/astreamer_zstd.c with 99% similarity]
src/fe_utils/meson.build
src/include/fe_utils/astreamer.h [moved from src/bin/pg_basebackup/astreamer.h with 100% similarity]