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 1la1JS-0004jJ-AI for pgsql-novice@arkaria.postgresql.org; Fri, 23 Apr 2021 19:18:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1la1JR-00009c-2X for pgsql-novice@arkaria.postgresql.org; Fri, 23 Apr 2021 19:18:01 +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 1la1JQ-00009Q-Sm for pgsql-novice@lists.postgresql.org; Fri, 23 Apr 2021 19:18:00 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1la1JJ-0001hN-Hh for pgsql-novice@lists.postgresql.org; Fri, 23 Apr 2021 19:17:59 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1la1JG-0002aB-GY; Fri, 23 Apr 2021 15:17:50 -0400 Date: Fri, 23 Apr 2021 15:17:50 -0400 From: Bruce Momjian To: Pavel Tide Cc: pgsql-novice@lists.postgresql.org Subject: Re: suppress empty archive_command warning message Message-ID: <20210423191750.GA7630@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Apr 23, 2021 at 08:48:39PM +0200, Pavel Tide wrote: > Hello everyone, > > 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? -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.