pg_basebackup, manifests and backends older than ~12

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pg_basebackup, manifests and backends older than ~12
Дата
Msg-id 20200410080910.GZ1606@paquier.xyz
обсуждение исходный текст
Ответы Re: pg_basebackup, manifests and backends older than ~12
Список pgsql-hackers
Hi,

I have noticed that attempting to use pg_basebackup from HEAD leads to
failures when using it with backend versions from 12 and older:
$ pg_basebackup -D hoge
pg_basebackup: error: backup manifests are not supported by server
version 12beta2
pg_basebackup: removing data directory "hoge"

This is a bit backwards with what we did in the past to maintain
compatibility silently when possible, for example look at the handling
of temporary replication slots.  Instead of an error when means to
force users to have to specify --no-manifest in this case, shouldn't
we silently disable the generation of the backup manifest?  We know
that this option won't work on older server versions anyway.

Thanks,
--
Michael

Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: doc review for parallel vacuum
Следующее
От: "asaba.takanori@fujitsu.com"
Дата:
Сообщение: RE: Complete data erasure