From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move routine building restore_command to src/common/ |
Date: | 2020-03-24 03:14:07 |
Message-ID: | E1jGa11-0003q8-Kb@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e09ad07b21a244c3cbcdbe3048e9ab0834ac6d41
Modified Files
--------------
src/backend/access/transam/xlogarchive.c | 66 +++--------------
src/common/Makefile | 1 +
src/common/archive.c | 121 +++++++++++++++++++++++++++++++
src/include/common/archive.h | 21 ++++++
src/tools/msvc/Mkvcbuild.pm | 1 +
5 files changed, 154 insertions(+), 56 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2020-03-24 03:50:04 | pgsql: Prefer standby promotion over recovery pause. |
Previous Message | Fujii Masao | 2020-03-24 02:12:49 | pgsql: Add wait events for WAL archive and recovery pause. |