public inbox for [email protected]
help / color / mirror / Atom feedFrom: Felix Hamme <[email protected]>
To: Laurenz Albe <[email protected]>
Cc: [email protected]
Subject: Re: BUG #19432: recovery fails at invalid checkpoint record
Date: Mon, 16 Mar 2026 14:56:03 +0100
Message-ID: <CAFhNxxSXn_Co1E8MwMmu65Ca1Q1brDbn+EU7jNUzgV5+vp2-bQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<CAFhNxxTNTx=B5ibHQNVC+MLAG=kwHCed7dCgSYPJfJ24uPjxeQ@mail.gmail.com>
<[email protected]>
Timeline history files can be needed multiple times, ok. My question
was about WAL files only.
I'm tempted to use a restore_command which does cp for history files
and mv for WAL files, to optimize performance and disk usage.
An AI told me that a second restore attempt for the same WAL file
could only happen if recovery is resumed after a crash.
Kind regards
Felix Hamme
On Fri, Mar 13, 2026 at 5:37 PM Laurenz Albe <[email protected]> wrote:
>
> On Fri, 2026-03-13 at 09:35 +0100, Felix Hamme wrote:
> > Is it safe in general to use mv for wal files? In other words, do the
> > currently supported postgres versions run restore_command only once
> > per wal file?
>
> As you found out, no...
>
> Yours,
> Laurenz Albe
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: BUG #19432: recovery fails at invalid checkpoint record
In-Reply-To: <CAFhNxxSXn_Co1E8MwMmu65Ca1Q1brDbn+EU7jNUzgV5+vp2-bQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox