pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix compatibility of pg_basebackup -R with 11 and older versions
Date: Fri, 08 Mar 2019 01:18:05 +0000
Message-ID: <E1h249F-0006WI-SE@gemulon.postgresql.org> (raw)

Fix compatibility of pg_basebackup -R with 11 and older versions

When 2dedf4d9 has integrated recovery.conf into postgresql.conf, it also
changed pg_basebackup -R in the way recovery configuration is
generated.  However this implementation forgot the fact that
pg_basebackup needs to keep compatibility with older server versions as
well.

Reported-by: Devrim Gündüz
Author: Sergei Kornilov, Michael Paquier
Discussion: https://postgr.es/m/3458f7cd12d74acd90180a671c8d5a081d60e162.camel@gunduz.org

Branch
------
master

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

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 109 +++++++++++++++++++++++++---------
1 file changed, 82 insertions(+), 27 deletions(-)



Message-ID: <E1h249F-0006WI-SE@gemulon.postgresql.org>
Permalink:  ../E1h249F-0006WI-SE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h249F-0006WI-SE@gemulon.postgresql.org

 · 

reply

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 compatibility of pg_basebackup -R with 11 and older versions
  In-Reply-To: <E1h249F-0006WI-SE@gemulon.postgresql.org>
  References: <E1h249F-0006WI-SE@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