Re: PG 14 pg_basebackup accepts --compress=server-zst option

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: PG 14 pg_basebackup accepts --compress=server-zst option
Дата
Msg-id CANzqJaAAJmAhgbYYx1T-+-A_myAEOLgDbzE3m5zfOQMwNzcCQQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG 14 pg_basebackup accepts --compress=server-zst option  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: PG 14 pg_basebackup accepts --compress=server-zst option
Список pgsql-general
On Fri, Jun 7, 2024 at 12:32 AM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Thursday, June 6, 2024, Kashif Zeeshan <kashi.zeeshan@gmail.com> wrote:
Hi

On Fri, Jun 7, 2024 at 6:54 AM Ron Johnson <ronljohnsonjr@gmail.com> wrote:

https://www.postgresql.org/docs/14/app-pgbasebackup.html doesn't mention "--compress=[{client|server}-]method".  That first appears in the v15 docs.

And yet pg_basebackup doesn't complain about an invalid option.  (Technically, this is a bug; I first noticed it a week after copying a script from a PG 15 server to five PG 14 servers, and running it quite a few times without fail.)

Seems a bit suspect, but as your script doesn’t mention tar the option itself is apparently ignored, I guess silently. 

Does this mean that "--compress=server-zst" is only relevant with --format=tar?
 
Assuming this isn’t an actual regression in behavior in a patch-released older version

My apologies for not mentioning the version: 14.12-1PGDG-rhel8.
 
I don’t see us adding an error message at this point.

Me neither.  It just seemed odd.

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

Предыдущее
От: "Zwettler Markus (OIZ)"
Дата:
Сообщение: PG16.1 security breach?
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Poor performance after restoring database from snapshot on AWS RDS