Re: [Patch] pg_rewind: options to use restore_command from recovery.conf or command line
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>,
Alexander Korotkov <a.korotkov@postgrespro.ru>,
Alexey Kondratov <a.kondratov@postgrespro.ru>,
Liudmila Mantrova <l.mantrova@postgrespro.ru>,
Thomas Munro <thomas.munro@gmail.com>,
Andrey Borodin <x4mmm@yandex-team.ru>,
David Steele <david@pgmasters.net>,
Andres Freund <andres@anarazel.de>,
PostgreSQL-development <pgsql-hackers@postgresql.org>,
Dmitry Dolgov <9erthalion6@gmail.com>, vladimirlesk@yandex-team.ru,
dsarafan@yandex-team.ru
Date: 2020-01-19T21:48:05Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Move frontend-side archive APIs from src/common/ to src/fe_utils/
- 8d8b89266ca0 13.0 landed
- a3b2bf1fe7ce 14.0 landed
-
Add -c/--restore-target-wal to pg_rewind
- a7e8ece41cf7 13.0 landed
-
Move routine definitions of xlogarchive.c to a new header file
- 616ae3d2b056 13.0 landed
-
Move routine building restore_command to src/common/
- e09ad07b21a2 13.0 landed
-
Integrate recovery.conf into postgresql.conf
- 2dedf4d9a899 12.0 cited
Alvaro Herrera <alvherre@2ndquadrant.com> writes: > On 2020-Jan-19, Michael Paquier wrote: >> +use File::Glob ':bsd_glob'; >> +use File::Path qw(remove_tree make_path); >> +use File::Spec::Functions qw(catdir catfile); >> Is this compatible with our minimum perl requirements for the TAP >> tests? > I *think* :bsd_glob should be available in all the Perl versions we > support, but I'm not sure that we really need it. We seem to do just > fine with regular glob elsewhere. We had some previous discussion about that, and Andrew seemed to think that it wouldn't necessarily be a net win: https://www.postgresql.org/message-id/fde787ee-9c2d-46da-3ece-f7ae64a70b33%402ndQuadrant.com In any case, I'd say -1 to having just one place use that. regards, tom lane