]> granicus.if.org Git - postgresql/commit
Fix compatibility of pg_basebackup -R with 11 and older versions
authorMichael Paquier <michael@paquier.xyz>
Fri, 8 Mar 2019 01:14:03 +0000 (10:14 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 8 Mar 2019 01:17:23 +0000 (10:17 +0900)
commitbeeb8e2e0717065296dc7b32daba2d66f0f931dd
tree63bf9e3d7ef4473668c3da9bfc79b37c48aa237a
parent251cf2e27bec98274e8bb002608680bdc211319e
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
src/bin/pg_basebackup/pg_basebackup.c