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 1qqANN-008OOD-7r for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Oct 2023 10:54:09 +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 1qqANL-006wDz-3z for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Oct 2023 10:54:08 +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 1qqANK-006wDb-1N for pgsql-hackers@lists.postgresql.org; Tue, 10 Oct 2023 10:54:07 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qqANH-000wHH-TD for pgsql-hackers@postgresql.org; Tue, 10 Oct 2023 10:54:05 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id B39A23200B8C; Tue, 10 Oct 2023 06:54:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 10 Oct 2023 06:54:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1696935241; x= 1697021641; bh=o/NIjQBdvbQYWQ/QzoxcRCICwGccgfmR+3U0bfazblo=; b=e f9PMNMWjxkWDwP1dmpXEIMBXTbdwxoFM6VaGru5+oIbfkAGLaBXkJsINzdNEE7dt sDaZ0NsBO5Jixckg3MM+QKnJvxuSjtdKoUBB2/OMcGehtMXbD1185gmknPiMbY/L RKLdlzrW2f4o/Kw9KF9TWDMstTTJAcJdKkFMbggx/vjQLXyUGRijkmsP27oCsitn MwIGhMUOTXg3sP3gjIPjAM2ujHV3byTjNb/lyN12jrtLiPfXC5SPaXvNy7IpouZ8 O2fK49KTU66GK7YGaCCTkC6lvQcV2NqkuPuWpsjeluH9y7xvq60UuhpcnigMd2n9 +k+ryTtdEgYW4obLCZniA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrheehgdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeff gfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 10 Oct 2023 06:54:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1696935238; bh=0xa9usySxwmFdtoDFqx2/RZ+TP4uYcllvx1g3zP5rNI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=C4tVjs+C7gU0Ti1ixpuJNYAoT/5bNEkvCSyjyAY0te4amr577hy7PYxzxDd4tZQ8t kUe1hmeOS8DnyJmI/WvdrbMEhGKg1bVDrgvlWCxQNYV1mZK2xrKGR9Qkhr7ECXH1WT M6pIMK4Sf4UiZ6/NxmwaQY6Guo94nBC6iYEgwXfIf+/QpFcYZrKqqmAOqiS1GSvtjP HaF1DVKilzWqX4MGO490Qdt7i/v6M7qbv0GcAXR7FqxqJEAJDET87Rm0Q4koczsGqU USxh4iQrfYbCuk21rmkwjH4U+qwDYDBBv+TN7Cw0kPZ7tcRKr4VecK4yIqzUR/icbf mz26csVS6ReEA== Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 80E3C3146; Tue, 10 Oct 2023 12:53:58 +0200 (CEST) Date: Tue, 10 Oct 2023 12:53:58 +0200 From: Alvaro Herrera To: Peter Eisentraut Cc: pgsql-hackers Subject: Re: pg_resetwal: Corrections around -c option Message-ID: <202310101053.6jrlqjloog4q@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <100061e0-efd0-4462-b280-4cbfd6d15b9f@eisentraut.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Oct-10, Peter Eisentraut wrote: > On 09.10.23 17:48, Alvaro Herrera wrote: > > Hmm, not sure about this. [...] > > Would those issues also apply to the other SLRU-based guides on this man > page? Are they all a bit wrong? I didn't verify, but I think it's likely that they do and they are. > > Not sure how to write this concisely, though. Should we really try? > > Maybe not. But the documentation currently suggests you can try (probably > somewhat copy-and-pasted). I bet this has not been thoroughly verified. Perhaps we should have (somewhere outside the option list) a separate paragraph that explains how to determine the safest maximum value to use, and list only the multiplier together with each option. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/