public inbox for [email protected]  
help / color / mirror / Atom feed
From: Stephen Frost <[email protected]>
To: Pavel Tide <[email protected]>
Cc: Yogesh Jadhav <[email protected]>
Cc: Bruce Momjian <[email protected]>
Cc: [email protected]
Subject: Re: suppress empty archive_command warning message
Date: Sun, 25 Apr 2021 14:08:04 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAAnkphU200qFbKLVOZnwccvOu8WSPUm5_32iuWTu-ZdPRQOkYw@mail.gmail.com>
References: <CAAnkphW8RpmwodKyjQhT+6jaOSLG=ERd7n-9DHr0CLRSY2W+mg@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<PS2PR03MB370260F10EA97D77B26FDE1AC4439@PS2PR03MB3702.apcprd03.prod.outlook.com>
	<CAAnkphU200qFbKLVOZnwccvOu8WSPUm5_32iuWTu-ZdPRQOkYw@mail.gmail.com>

Greetings,

* Pavel Tide ([email protected]) wrote:
> Right, but /bin/false will make pgsql to retry the command again and again
> and that will throw warnings as well (AFAIK).

It'll say it's retrying, sure.

> I would like to copy WALs once in every "X" minutes instead of copying them
> continuously.

PG is only going to call the archice command when you've written 16MB of
WAL (unless you also have archive timeout set...).

Maybe you can clarify your use-case as to why you only want to copy them
once every 'X' minutes..?

Thanks,

Stephen


Attachments:

  [application/pgp-signature] signature.asc (819B, ../[email protected]/2-signature.asc)
  download

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: <[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