From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix single-record reads to use restore_command if available in p
Date: Tue, 21 Apr 2020 23:09:01 +0000
Message-ID: <E1jR20j-0001iJ-L1@gemulon.postgresql.org> (raw)
Fix single-record reads to use restore_command if available in pg_rewind
readOneRecord() is used now when looking for a checkpoint record to
check if the target server is an ancestor of the source across multiple
timelines, and using a restore_command if available improves the
stability of the operation. This part was missed in a7e8ece.
Reported-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/20200421.150830.1410714948345179794.horikyota.ntt@gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/cd123234404ef9a45415060633d3be31329820b2
Modified Files
--------------
src/bin/pg_rewind/parsexlog.c | 4 +++-
src/bin/pg_rewind/pg_rewind.c | 3 ++-
src/bin/pg_rewind/pg_rewind.h | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Fix single-record reads to use restore_command if available in p
In-Reply-To: <E1jR20j-0001iJ-L1@gemulon.postgresql.org>
References: <E1jR20j-0001iJ-L1@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox