Re: Reasons for not overwriting processed wal archives? - Mailing list pgsql-general

From David G. Johnston
Subject Re: Reasons for not overwriting processed wal archives?
Date
Msg-id CAKFQuwY0akhPwvEc5rbYyR_kh89vjm0PkVnsWCHbCD9WGghRig@mail.gmail.com
Whole thread Raw
In response to Reasons for not overwriting processed wal archives?  (Koen De Groote <kdg.dev@gmail.com>)
List pgsql-general
On Wednesday, May 18, 2022, Koen De Groote <kdg.dev@gmail.com> wrote:

States:

> It is advisable to test your proposed archive command to ensure that it indeed does not overwrite an existing file, and that it returns nonzero status in this case.

Why exactly is this?

Newer doc versions also say:

 This is an important safety feature to preserve the integrity of your archive in case of administrator error (such as sending the output of two different servers to the same archive directory).

David J.

pgsql-general by date:

Previous
From: Koen De Groote
Date:
Subject: Reasons for not overwriting processed wal archives?
Next
From: Dominique Devienne
Date:
Subject: Re: Who am I? Where am I connected?