pgsql: Move the code to archive files via the shell to a separate file.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move the code to archive files via the shell to a separate file.
Date: 2022-01-28 19:06:48
Message-ID: E1nDWa8-00040l-UZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move the code to archive files via the shell to a separate file.

This is preparatory work for allowing more extensibility in this area.

Nathan Bossart

Discussion: http://postgr.es/m/668D2428-F73B-475E-87AE-F89D67942270@amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aeb4cc9ea07a63ecb4a230513620ceee855a839a

Modified Files
--------------
src/backend/postmaster/Makefile | 1 +
src/backend/postmaster/pgarch.c | 125 ++----------------------------
src/backend/postmaster/shell_archive.c | 135 +++++++++++++++++++++++++++++++++
src/include/postmaster/pgarch.h | 3 +
4 files changed, 145 insertions(+), 119 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2022-01-28 19:22:27 pgsql: Remove superfluous variable.
Previous Message Robert Haas 2022-01-28 17:33:06 pgsql: Adjust server-side backup to depend on pg_write_server_files.