Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzYRX-004q8r-9E for pgsql-docs@arkaria.postgresql.org; Wed, 24 Apr 2024 08:57:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rzYRV-00DAVP-Re for pgsql-docs@arkaria.postgresql.org; Wed, 24 Apr 2024 08:57:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzYRU-00DAST-TP for pgsql-docs@lists.postgresql.org; Wed, 24 Apr 2024 08:57:29 +0000 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzYRR-004O72-TE for pgsql-docs@lists.postgresql.org; Wed, 24 Apr 2024 08:57:27 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 5A14811400C8; Wed, 24 Apr 2024 04:57:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 24 Apr 2024 04:57:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1713949044; x=1714035444; bh=c80UJYYs1JBHIF4JuoUEbXqFXbaH/ReKZAFZf3yjUPo=; b= XLYEsWglKRm1x0ntLPjsla5yVwUi0H54Dlw53e5QWiStEEJkPl7lG8uDYF94ZVFV PZigLT9dxHzVruuxxeIlkRICBgNatvHt/6m7A+LLe/CnQXcbkMmvRtobgCco1QmK Zh04W02loC/p6KRB353rPNg02s4IZqFJfk6zqAN4ZU/IkClk3Y5f0i+EjMOaR+3W a/lj++l9WZ9K3q1MZzhl90FlIDzej5RmAfdH0Pzp+QvxxRTU4m132YIZqU+aE376 GQWfeOO/ZjOt6IqoXT+YbSjZg2BYcwCGJHKpmR47Ak/L7RCb8OeVX9WlqQeDRbeh csbi7mF+qutFouRgFDvh9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1713949044; x= 1714035444; bh=c80UJYYs1JBHIF4JuoUEbXqFXbaH/ReKZAFZf3yjUPo=; b=H rNlKMzCbGRwnVaYnCC60x6EzSRAOwCvIw7k6Tl1Fo8OA8p3TcwVDDwcMNDxpQ6Ua VylyqudaJ0qxbGjDk3C92BSikeWE1Kd5gXIamdk4fqEzG3v9Nsg4+tt/SaiGUIRt oXqQ2dTtVepSfVeQn06o4l+IH3Y8JwFRz6RxBYI3H0ZlLZX57Ijed3d7/BnIShkM c1bBbqRzy9ydhJ8PnxCyhz6Ipfw3KLvJ6MToigTr7gj+vBE0pk1xmuTrotiyLLTR N/b9nSPH/w8WF6O76egwIUhUQ0/dNbK1MFANRuGo0B0b7/bcpV+VnrX8Dk2MwoMp 3ic4rawGZrvTaUtCPrXqQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudelfedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqe enucggtffrrghtthgvrhhnpeegueeuvdfhheeuieejtefguddthfevveefuefgtddvgfet teehjeetleeuvdevudenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhes vghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 24 Apr 2024 04:57:23 -0400 (EDT) Message-ID: <6a09dfdd-9dc5-49f4-82ea-826162ed0d74@eisentraut.org> Date: Wed, 24 Apr 2024 10:57:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: wal_init_zero / wal_recycle To: Nicolas Seinlet , "pgsql-docs@lists.postgresql.org" References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 24.04.24 10:08, Nicolas Seinlet wrote: > while searching the doc to solve an issue, I found the interdependency > between those 2 parameters was not obvious. > > Here: > https://www.postgresql.org/docs/14/runtime-config-wal.html#GUC-WAL-INIT-ZERO > > the wal_init_zero set to ON cause new WAL files to be filled with zeroes. > > It was not crystal clear to me that when wal_recycle is also ON , the > recycled files are not filled with zeroes, because they are not > considered as new. Could we add a sentence stating this? It currently says: wal_init_zero: "... causes new WAL files to be filled with zeroes ..." wal_recycle: "... avoiding the need to create new ones ..." I'm not sure where exactly to make that more clear.