public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Felix Hamme <[email protected]>
Cc: [email protected]
Subject: Re: BUG #19432: recovery fails at invalid checkpoint record
Date: Mon, 16 Mar 2026 16:07:51 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAFhNxxSXn_Co1E8MwMmu65Ca1Q1brDbn+EU7jNUzgV5+vp2-bQ@mail.gmail.com>
References: <[email protected]>
	<[email protected]>
	<CAFhNxxTNTx=B5ibHQNVC+MLAG=kwHCed7dCgSYPJfJ24uPjxeQ@mail.gmail.com>
	<[email protected]>
	<CAFhNxxSXn_Co1E8MwMmu65Ca1Q1brDbn+EU7jNUzgV5+vp2-bQ@mail.gmail.com>

On Mon, 2026-03-16 at 14:56 +0100, Felix Hamme wrote:
> 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.

Don't do that.  Make the restore_command idempotent.
Trying to optimize for storage space often causes problems elsewhere.

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: <[email protected]>

* 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