public inbox for [email protected]
help / color / mirror / Atom feedFrom: Yogesh Jadhav <[email protected]>
To: Stephen Frost <[email protected]>
Cc: Bruce Momjian <[email protected]>
Cc: Pavel Tide <[email protected]>
Cc: [email protected]
Subject: Re: suppress empty archive_command warning message
Date: Sun, 25 Apr 2021 13:41:58 +0530
Message-ID: <PS2PR03MB370260F10EA97D77B26FDE1AC4439@PS2PR03MB3702.apcprd03.prod.outlook.com> (raw)
In-Reply-To: <[email protected]>
References: <CAAnkphW8RpmwodKyjQhT+6jaOSLG=ERd7n-9DHr0CLRSY2W+mg@mail.gmail.com>
<[email protected]>
<[email protected]>
Greetings,
Why would anyone want to set archive_mode on and empty archive_command?
Thanks,
Yogesh
> On 24-Apr-2021, at 1:08 AM, Stephen Frost <[email protected]> wrote:
>
> Greetings,
>
> * Bruce Momjian ([email protected]) wrote:
>> On Fri, Apr 23, 2021 at 08:48:39PM +0200, Pavel Tide wrote:
>>> Is there a way to suppress the WARNING that is thrown in PG logs if
>>> archive_mode is enabled but the archive command is empty? Maybe some
>>> configuration key which I have overlooked?
>>
>> Have you tried putting "/bin/true" in there, for non-Windows?
>
> Erm, that would cause all WAL to just be silently thrown away.. To have
> the same behavior as having it be unset, you'd set it to '/bin/false'.
>
> Of course, which you want depends, but generally you should be using a
> real archive command to archive your WAL, not throwing it away.
>
> Thanks,
>
> Stephen
view thread (15+ messages) latest in thread
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], [email protected], [email protected]
Subject: Re: suppress empty archive_command warning message
In-Reply-To: <PS2PR03MB370260F10EA97D77B26FDE1AC4439@PS2PR03MB3702.apcprd03.prod.outlook.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