Move routine building restore_command to src/common/
authorMichael Paquier <michael@paquier.xyz>
Tue, 24 Mar 2020 03:13:36 +0000 (12:13 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 24 Mar 2020 03:13:36 +0000 (12:13 +0900)
commite09ad07b21a244c3cbcdbe3048e9ab0834ac6d41
tree3239e46294bfd6bbf897e1a2470a2fad20fef653
parentb8e20d6dabdafbe905b62910dc0236037c7881e1
Move routine building restore_command to src/common/

restore_command has only been used until now by the backend, but there
is a pending patch for pg_rewind to make use of that in the frontend.

Author: Alexey Kondratov
Reviewed-by: Andrey Borodin, Andres Freund, Alvaro Herrera, Alexander
Korotkov, Michael Paquier
Discussion: https://postgr.es/m/a3acff50-5a0d-9a2c-b3b2-ee36168955c1@postgrespro.ru
src/backend/access/transam/xlogarchive.c
src/common/Makefile
src/common/archive.c [new file with mode: 0644]
src/include/common/archive.h [new file with mode: 0644]
src/tools/msvc/Mkvcbuild.pm