pgsql: Move recovery injector astreamer to a separate header file.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move recovery injector astreamer to a separate header file.
Date: 2024-08-05 14:59:22
Message-ID: E1sazBC-002o5U-VE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move recovery injector astreamer to a separate header file.

Unlike the rest of the astreamer (formerly bbstreamer) infrastructure
which is reusable by other tools, astreamer_inject.c seems extremely
specific to pg_basebackup. Hence, move the corresponding declarations
to a separate header file, so that we can move the rest of the code
without moving this.

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/53b2c921a0f9b56465ab65165c1909f9616ffa98

Modified Files
--------------
src/bin/pg_basebackup/astreamer.h | 6 ------
src/bin/pg_basebackup/astreamer_inject.c | 2 +-
src/bin/pg_basebackup/astreamer_inject.h | 24 ++++++++++++++++++++++++
src/bin/pg_basebackup/pg_basebackup.c | 2 +-
4 files changed, 26 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2024-08-05 15:57:02 pgsql: Move astreamer (except astreamer_inject) to fe_utils.
Previous Message Robert Haas 2024-08-05 14:01:28 pgsql: Rename bbstreamer to astreamer.