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 1r0z9t-008ki1-RQ for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Nov 2023 07:08:57 +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 1r0z9s-00Bunw-G1 for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Nov 2023 07:08:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0z9s-00Buno-6o for pgsql-hackers@lists.postgresql.org; Thu, 09 Nov 2023 07:08:56 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0z9p-005UWh-Vu for pgsql-hackers@lists.postgresql.org; Thu, 09 Nov 2023 07:08:55 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id DA826320076F; Thu, 9 Nov 2023 02:08:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 09 Nov 2023 02:08:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1699513729; x=1699600129; bh=+0 uGrmyMJVPN635HMZwhcjw17dl1nEC2hGiuNPznF1o=; b=ctokA1QSjUOYBXCVTo HdvWsqyrjdFeYh0/Ef1li27CoEgUrgf4MibltHs4zwE3/8IcCB4m7f1CMMQnTCop JAPn0gpHpQop+y+hg2BB5fa+vpgdoYbAi0Mgbs0rmBetkiGcHDtwt8MCiYsNgL+P R98wTX0mXrv3AZp4RR0v101G9Hz0uQ2XoN/DtBqX0t3xOPocrU/5gbirOwkVQ06u 91kXBvBUc8vaGc7lIUk73Bv9HsglFyii1H8BUHJNpaFmxKSmF+wXm/JgcwGicPXC wxLukLegnpJ5Bc9E5lpcu1oeyhll4iqitF9B/iF5K7fuioH3oJjn8bkLyeT6rSLb +Kag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1699513729; x=1699600129; bh=+0uGrmyMJVPN6 35HMZwhcjw17dl1nEC2hGiuNPznF1o=; b=e73ZGIL2ef+eSqhyLtbfRoqpWWd/m p3eTItt3B+xBS2CuIUvPOMgUJH0OFA5azcZhwTE14iAgUYWvlxnbj1eJgCNQoX7N YKmeft2oNb+Kx6eKE6pO4eO5HjeNlp1R3sxLX/C1yWRJbFbQ/Y6mPltORUypulJ3 KX7H5JvQ7qqf6KBvqvLePbV4zf2fiJTLPXELDOqF03ABmGWCQ+zsUOFJNp6oBEqS Vuerm91NDMJ6Cz6c3ABdmSmuUbptPEBKoE0StKhoaQIifAdIttIwsmbbbcht3CS3 IVCxSuiUAH3ZHPWWi9AL6yVkUmD8ImM2GAqYLlkeCEUXCnOOkvhqf41eg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvtddguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreer tddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlse hprghquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteel geeggeffhfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdig hiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Nov 2023 02:08:45 -0500 (EST) Date: Thu, 9 Nov 2023 16:08:38 +0900 From: Michael Paquier To: Peter Smith Cc: Amit Kapila , Kyotaro Horiguchi , bharath.rupireddyforpostgres@gmail.com, alvherre@alvh.no-ip.org, pgsql-hackers@lists.postgresql.org Subject: Re: A recent message added to pg_upgade Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bFnE2uK0V/3QGWvk" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --bFnE2uK0V/3QGWvk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 09, 2023 at 05:04:28PM +1100, Peter Smith wrote: > Having a GUC hook for the "max_slot_wal_keep_size" seemed OK to me. If > the user overrides a GUC value (admittedly, maybe there is no reason > why they would want to) then at least the hook will give an error, > rather than us silently overwriting the user's value with -1. >=20 > So, patch v4 LGTM, except it is better to include a test case. Where's this v4? I may be missing, but it does not seem to be attached to this thread.. -- Michael --bFnE2uK0V/3QGWvk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmVMhXYACgkQnvQgOdby QH1AwQ/9Gm1X2CcJSwnab296Gzpq4713c+9xzD52sfvWng/SOd4r1+5uTvflUtNL odLAlyZfRGWE7XC55HVGD0Lacnyvou742/qm94ct16s6fnS4ssPxUz6U1eio6w0X bFwP0e9ehlxsDCyCx3VFC9eF2iNcwP2v4DW/BQXTXt156ufzzf83C0XBZOVOOflH TR2QFc2yF00asNdDy1xWz12qH7sNmMJZuZ+smFEZglh7t+z8xUF5skBd7+eA+Pqm bDo1J/IRo4I/VY9vcczCVp1WvqM8BlxqWITEHfqHbVtEM1VqWrKuRpv4H/9BP8hn pICp6sa58EDu0d0HrAEsDLAOci6QrKq1DoYX1SIZchotwWa2pSz1zE9hcsdeJ3FI c6gAatCVCPcTQxLFDVTa3gdVpoKmxmDTiO0JgVScCTKTrKFXN83yNmqllrPG6v59 +m8lu4fK68kOMLYx3fqI3GN1bHyiFX9nxjuE0IQBcAQJU4/9j06amr8S1XRhDXVl 4nWCrNrvtIiBzseAk0fNxNGJx+oqMMrAOeolQxZBuUMRkwqTE++aifaIK3aMHvio bW1FffUbO3Hy/K1tF17oRjbxlwr6BdXSUipUrXAxfWUw300qGlaDSo4Wev4XUy27 /jWO3V1uVUcnoX/qsIkPzYvLrXr/ajj4R0uBGifqUZOoMmurZhA= =ALxY -----END PGP SIGNATURE----- --bFnE2uK0V/3QGWvk--