Re: pg_basebackup against older server versions

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_basebackup against older server versions
Дата
Msg-id 20190306090945.GK30982@paquier.xyz
обсуждение исходный текст
Ответ на pg_basebackup against older server versions  (Devrim Gündüz <devrim@gunduz.org>)
Ответы Re: pg_basebackup against older server versions
Список pgsql-hackers
On Wed, Mar 06, 2019 at 11:55:12AM +0300, Devrim Gündüz wrote:
> Apologies if this has been discussed before: When I run pg_basebackup in git
> head against v11 server, it treats v11 as v12: Does not create recovery.conf,
> adds recovery parameters to postgresql.auto.conf, and also creates
> standby.signal file. Is this expected, or a bug?

You are right, this is a bug.  Compatibility with past server versions
should be preserved, and we made an effort to do so in the past (see
the switch to pg_wal/ for example).  Fortunately, maintaining the
compatibility is simple enough as the connection information is close
by so that we just need to change postgresql.auto.conf to
recovery.conf, and avoid the creation of standby.signal.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ashwin Agrawal
Дата:
Сообщение: Re: Make drop database safer
Следующее
От: Amit Langote
Дата:
Сообщение: bug in update tuple routing with foreign partitions