Re: pg_validatebackup -> pg_verifybackup?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pg_validatebackup -> pg_verifybackup?
Дата
Msg-id 20200410203525.pdbtbm27uhczvyx6@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pg_validatebackup -> pg_verifybackup?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_validatebackup -> pg_verifybackup?
Список pgsql-hackers
Hi,

On 2020-04-10 16:13:18 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > FWIW, I still think it's a mistake to accumulate all these bespoke
> > tools. We should go towards having one tool that can verify checksums,
> > validate backup manifests etc. Partially because it's more discoverable,
> > but also because it allows to verify multiple such properties in a
> > single pass, rather than reading the huge base backup twice.
> 
> Well, we're not getting there for v13.  Are you proposing that this
> patch just be reverted because it doesn't do everything at once?

No. I suggest choosing a name that's compatible with moving more
capabilities under the same umbrella at a later time (and I suggested
the same pre freeze too). Possibly adding a toplevel --verify-manifest
option as the only change besides naming.

Andres



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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: pg_basebackup, manifests and backends older than ~12
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_validatebackup -> pg_verifybackup?