Re: [PATCH] Allow usage of archive .backup files as backup_label - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] Allow usage of archive .backup files as backup_label
Date
Msg-id Y2yEjWHfrgixFCX9@paquier.xyz
Whole thread Raw
In response to Re: [PATCH] Allow usage of archive .backup files as backup_label  (Laurenz Albe <laurenz.albe@cybertec.at>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Fix some newly modified tab-complete changes
Next
From: Yugo NAGATA
Date:
Subject: Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands