Move routine building restore_command to src/common/
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlogarchive.c | modified | +10 −56 |
| src/common/archive.c | added | +121 −0 |
| src/common/Makefile | modified | +1 −0 |
| src/include/common/archive.h | added | +21 −0 |
| src/tools/msvc/Mkvcbuild.pm | modified | +1 −0 |
Discussion
- [Patch] pg_rewind: options to use restore_command from recovery.conf or command line 100 messages · 2018-10-19 → 2020-06-12