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

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

From
Robert Haas
Date:
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(-)