Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iRoxV-0008J1-1k for pgsql-docs@arkaria.postgresql.org; Tue, 05 Nov 2019 02:52:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iRoxT-0004OD-NY for pgsql-docs@arkaria.postgresql.org; Tue, 05 Nov 2019 02:52:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iRoxT-0004O6-DC for pgsql-docs@lists.postgresql.org; Tue, 05 Nov 2019 02:52:39 +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 1iRoxR-000623-3s for pgsql-docs@lists.postgresql.org; Tue, 05 Nov 2019 02:52:38 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1iRoxO-00071p-91; Mon, 04 Nov 2019 21:52:34 -0500 Date: Mon, 4 Nov 2019 21:52:34 -0500 From: Bruce Momjian To: d.aumueller@proventa.de, pgsql-docs@lists.postgresql.org Subject: Re: wal_sender_timeout / wal_receiver_timeout - seconds or milliseconds? Message-ID: <20191105025234.GC12780@momjian.us> References: <157192240500.1043.7917781375772404449@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <157192240500.1043.7917781375772404449@wrigleys.postgresql.org> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Oct 24, 2019 at 01:06:45PM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/12/runtime-config-replication.html > Description: > > Dear sir or madam! > > The documentation about the parameter wal_sender_timeout refers to an > integer value in milliseconds in the first sentence. Reading up to the > default value in the paragraph, it is set to 60 seconds. The same difference > of milliseconds and seconds is included in postgresql.conf: > > #wal_sender_timeout = 60s # in milliseconds; 0 disables > > This difference is found in the documentation and postgresql.conf for > parameter wal_receiver_timeout, too. > > #wal_receiver_timeout = 60s # time that receiver waits for > # communication from master > # in milliseconds; 0 disables > > Please check and verify. - Thank you! The default _value_ is 60 seconds, and we use the 's' to specify seconds. What the comment is saying is that if you _don't_ specify any units, the integer is in milliseconds. I am not sure how to improve that. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +