Re: [PATCH] Allow usage of archive .backup files as backup_label

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] Allow usage of archive .backup files as backup_label
Дата
Msg-id Y2yEjWHfrgixFCX9@paquier.xyz
обсуждение исходный текст
Ответ на Re: [PATCH] Allow usage of archive .backup files as backup_label  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-hackers
On Tue, Oct 18, 2022 at 04:55:46AM +0200, Laurenz Albe wrote:
> I tend to agree with you.  It is easy to break PostgreSQL by manipulating
> or removing "backup_label", and copying a file from the WAL archive and
> renaming it to "backup_label" sounds like a footgun of the first order.
> There is nothing that prevents you from copying the wrong file.
> Such practices should not be encouraged.
>
> Anybody who knows enough about PostgreSQL to be sure that what they are
> doing is correct should be smart enough to know how to edit the copied file.

A few weeks after, still the same thoughts on the matter, so please
note that I have marked that as rejected in the CF app.  If somebody
wants to offer more arguments for this thread, of course please feel
free.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Fix some newly modified tab-complete changes
Следующее
От: Yugo NAGATA
Дата:
Сообщение: Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands