pgsql: Split out recovery confing-writing code from pg_basebackup

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Split out recovery confing-writing code from pg_basebackup
Date: 2019-09-25 17:36:11
Message-ID: E1iDBD1-0007YT-Dy@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Split out recovery confing-writing code from pg_basebackup

... into a new file, fe_utils/recovery_gen.c.

This can later be used by pg_rewind.

Authors: Paul Guo, Jimmy Yih, Ashwin Agrawal. A few tweaks by Álvaro Herrera
Reviewed-by: Michaël Paquier
Discussion: https://postgr.es/m/CAEET0ZEffUkXc48pg2iqARQgGRYDiiVxDu+yYek_bTwJF+q=Uw@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 162 +------------------------------
src/fe_utils/Makefile | 3 +-
src/fe_utils/recovery_gen.c | 176 ++++++++++++++++++++++++++++++++++
src/include/fe_utils/recovery_gen.h | 28 ++++++
src/tools/msvc/Mkvcbuild.pm | 3 +-
5 files changed, 211 insertions(+), 161 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2019-09-25 18:59:24 pgsql: Support reloptions of enum type
Previous Message Michael Paquier 2019-09-25 04:46:13 pgsql: Doc: Fix example related to partition pruning