Re: suppress empty archive_command warning message

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Pavel Tide <paveltide(at)gmail(dot)com>
Cc: Yogesh Jadhav <pgyogesh(at)outlook(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: Re: suppress empty archive_command warning message
Date: 2021-04-25 18:08:04
Message-ID: 20210425180804.GQ20766@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Greetings,

* Pavel Tide (paveltide(at)gmail(dot)com) 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Pavel Tide 2021-04-26 17:29:16 Re: suppress empty archive_command warning message
Previous Message Stephen Frost 2021-04-25 17:26:22 Re: suppress empty archive_command warning message