Split out recovery confing-writing code from pg_basebackup
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/pg_basebackup.c | modified | +3 −159 |
| src/fe_utils/Makefile | modified | +2 −1 |
| src/fe_utils/recovery_gen.c | added | +176 −0 |
| src/include/fe_utils/recovery_gen.h | added | +28 −0 |
| src/tools/msvc/Mkvcbuild.pm | modified | +2 −1 |
Discussion
- Two pg_rewind patches (auto generate recovery conf and ensure clean shutdown) 46 messages · 2019-03-19 → 2019-10-08