Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lajAw-00027I-6s for pgsql-novice@arkaria.postgresql.org; Sun, 25 Apr 2021 18:08:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lajAv-0001NB-5Y for pgsql-novice@arkaria.postgresql.org; Sun, 25 Apr 2021 18:08:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lajAu-0001N4-VU for pgsql-novice@lists.postgresql.org; Sun, 25 Apr 2021 18:08:08 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lajAs-0000J4-J1 for pgsql-novice@lists.postgresql.org; Sun, 25 Apr 2021 18:08:07 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 0E34C5F799; Sun, 25 Apr 2021 14:08:05 -0400 (EDT) Date: Sun, 25 Apr 2021 14:08:04 -0400 From: Stephen Frost To: Pavel Tide Cc: Yogesh Jadhav , Bruce Momjian , pgsql-novice@lists.postgresql.org Subject: Re: suppress empty archive_command warning message Message-ID: <20210425180804.GQ20766@tamriel.snowman.net> References: <20210423191750.GA7630@momjian.us> <20210423193809.GL20766@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VhH0H6bGAzEbYD6V" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --VhH0H6bGAzEbYD6V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * Pavel Tide (paveltide@gmail.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 --VhH0H6bGAzEbYD6V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJghbAEAAoJEO1sijiDR2RVE/QP/1FYu1jejdiLu8So0fJlNh6z vsUikFaIevc3AO/197J1MmXD5BgLViMYKEKPfFwMFeEYgAoBj1TucvoOAeV1M12p 5+kCb5ts7Y3qrydXdmaMB7WERs1q4+Myf+c0qTac1oVuvGjnMZETa7pH+NWj8RxD 7yrh5qMu6BwS8tjcAyXFnaIGPLnJ0HlG8id9UzvaRQ3bzqUWLRH1cAIROS1/aFe0 xrBhKAT75PAYDXElrmR9Jsnlh/0je2cFxoyuFWJgijq4iWbqKFdffcTZbR/4E2Dn STVg91vJPnUX0DbrjWwwjO6mJXFegkQMIus639bQzgtyIfhGpfW9unPgChH6eTfD OsgOCy3ezJ27/OW7sFVS1EF3DNI5jnF4J1eG9BtzFFfJG2UqMK/IdbfRnCfYD43x 9U0ocyfRxCRuNiJAOln2hW45PU9IHtUdE7KuTcfeWOPfJbzVaFD/SoSMSq2fwCWP uY3FmzTjuBFZCVGA6/PlFjfVI7y8JtWRYjhTmsk4WzZXpwMyLFwH9SRiJp0qo70t P2AOa7Pr2Y8nxEGXurJIrLnlIDNFRwu+/oXeZYv5Zz4U0d89F5wTEZnLO12mNpxa mOK+SVQG7SRzQUZh6K50L5m3j0jeFe9qKaUOs6KMiCYsAKlDngie0CwGi8Pc3/9U iZW/s9Eevz4eKh6QU9VJ =JHj0 -----END PGP SIGNATURE----- --VhH0H6bGAzEbYD6V--