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.96) (envelope-from ) id 1w2VXd-000Lw2-2u for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Mar 2026 14:37:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2VXc-0028he-2X for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Mar 2026 14:37:04 +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.96) (envelope-from ) id 1w2VXc-0028hW-1Z for pgsql-hackers@lists.postgresql.org; Tue, 17 Mar 2026 14:37:04 +0000 Received: from hedgehog.birch.relay.mailchannels.net ([23.83.209.81]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w2VXY-00000000cKl-1tST for pgsql-hackers@postgresql.org; Tue, 17 Mar 2026 14:37:04 +0000 X-Sender-Id: hostingeremail|x-authuser|david@pgbackrest.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D804F122458; Tue, 17 Mar 2026 14:36:54 +0000 (UTC) Received: from fr-int-smtpout26.hostinger.io (100-115-116-28.trex-nlb.outbound.svc.cluster.local [100.115.116.28]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id AB3C51229F8; Tue, 17 Mar 2026 14:36:53 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; d=mailchannels.net; s=arc-2022; cv=none; t=1773758214; b=iNPXiO5WmOHEvmufGckkJE8yXAxLasJZiVqCIx2AaZT2N8+ps4AHrME+iGovlfv2asYEoh a57lR5PbwdOSRj5b0ZJivIMKwcfusOYB3wea2eUzyt78Fc5i+b+CdCs0Q1BbrH/6AZXf08 hZHhTSYU9zMNx964LRzJev4q8vM28IqRZEmB91MOlBnQobd4FBqjmIByeMAqrokM/6/fs4 PeAGLCRazV1DfVX4lNwlOw5rYW+63sx5zCaNw2Vpgyf0gk6z/cABmdGhX9a30c7Rpl9AoL dMmvHHRT5hRM3jCzGiwYl8xti2GlMDgWCFZChujlw4PjySvKvUnHNyPYcx9Csw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1773758214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=JB9fhealJIWM107QXjufMDpJITlexv39FyeunVIIIdc=; b=eV2eQTJq9v1+jVhmrbZ53r1Pj4dpDxuDu6kbnIMkjtqssxMPeSnIlst+w9ygTURnjK6vuH IVRVDY6TNMo1zW1j4bM8vA1rsoDtod7vRCbtDsemKB/RGjdFmp2npYgBfIqFyOtUr9r8RU 8KYrtYWBzJHvKy3jgM95egZKfxP4CmzYPXzX6NIuF49Wi6ECoZnyTm0HHptkSCwZCIDRUH Lq0or6eO0jx/wLQmOC+mSyDBy1SEattQLkcJuza9L1aocBtREXAEkJj+z9gVangMUN5dpm Wa/yfNdfpgayx/akJj4i1J3lnta/7tri8kmTjkS6Shy0MpmZs+0AGzCVqEN20w== ARC-Authentication-Results: i=1; rspamd-78765f9847-l75z7; auth=pass smtp.auth=hostingeremail smtp.mailfrom=david@pgbackrest.org X-Sender-Id: hostingeremail|x-authuser|david@pgbackrest.org X-MC-Relay: Neutral X-MailChannels-SenderId: hostingeremail|x-authuser|david@pgbackrest.org X-MailChannels-Auth-Id: hostingeremail X-Snatch-Turn: 32b8e1b90bc9f0be_1773758214704_1811001240 X-MC-Loop-Signature: 1773758214704:2731079856 X-MC-Ingress-Time: 1773758214703 Received: from fr-int-smtpout26.hostinger.io (fr-int-smtpout26.hostinger.io [148.222.54.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.115.116.28 (trex/7.1.5); Tue, 17 Mar 2026 14:36:54 +0000 Received: from [10.5.0.2] (unknown [157.97.134.127]) (Authenticated sender: david@pgbackrest.org) by smtp.hostinger.com (smtp.hostinger.com) with ESMTPSA id 4fZvfp1FNVz1xnk; Tue, 17 Mar 2026 14:36:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgbackrest.org; s=hostingermail1; t=1773758212; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JB9fhealJIWM107QXjufMDpJITlexv39FyeunVIIIdc=; b=bs4SiXmM8nUr7SBaXZxzyXXV3sncKpzWsLv6e1pzmO+9OuNsCen1PEEckSaUVnqCSFie3F 4tek/EpBlHSGArWaAvifTFk9HWQwLmpAV7OHr2W5dC2qIJUSsFETA09UJXMBo7kEpe29Hs EMWMds5wpIHFQ/lmD/HuboylliAfv9KnxX3Fq1vVqytyp/9RW2OcxWCpOt+PqFV3KZ9TN7 IHigtYeRa+NG7/pFI+MOGBoc/lz18KYF/pv8z8FFooEH2veeKF5oXmRrCZB+6sBUH0en18 lQQgkG92TtXOk5jZo/iNOfFpKxYLfrOWwK9swVr9cWbGU0dJfHcjQyUMYaTRYg== Message-ID: <832093c9-27f3-40fe-88d8-ae416927eacb@pgbackrest.org> MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Improve checks for GUC recovery_target_xid To: =?UTF-8?Q?H=C3=BCseyin_Demir?= Cc: Fujii Masao , Michael Paquier , Pg Hackers References: <9e8b7ee9-4a16-477a-baa5-0cdf37a04798@pgbackrest.org> <8733e942-56fc-4542-9351-63f213f7e23c@pgbackrest.org> <2d228e82-02b5-4e55-a082-1ce26fae5f0f@pgbackrest.org> Content-Language: en-US From: David Steele In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 17 Mar 2026 14:36:49 +0000 (UTC) X-CM-Analysis: v=2.4 cv=UN2PHzfy c=1 sm=1 tr=0 ts=69b96704 a=0PhIdrvE/t8U5QDmxH9JUg==:117 a=0PhIdrvE/t8U5QDmxH9JUg==:17 a=IkcTkHD0fZMA:10 a=epTmVMiNAAAA:8 a=jixU_1hUAAAA:8 a=HvnWhiLzAAAA:8 a=fzYeIZmfgDMLqkH5G1IA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=q5YM_uMBw6irhRasv8ad:22 a=YT91KPC6OSPBWssVLg7J:22 X-CM-Envelope: MS4xfFNkSYJSh4kpJ+xJJ/OKptWDk5zToszKCMU4s32vJpaIuXbOEOEQwD0eEfnoVyWxpem9SeTgglvHm7h9mgmsHESj/uf4lDsY0cF/ImzeSx2q3NKJ5k9n bcArXq6dotOTxmO9dhibs6MuPCdGz0pP7SBSmEfxzM5ULeDXvdnP3hlP5pxDIQqgrnufhHf0hC72+jo9jf7bd521GoWCVmgRpXL9eNOGCfIAsqoY1czMaA6U daY0Qjc7nVMq9r5h8GQoyiVi+gGpzGGp/lnfWc7s67iuhmDzvjKO8GeKwN+NthAS X-AuthUser: david@pgbackrest.org List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 3/16/26 14:44, Hüseyin Demir wrote: > > David Steele , 6 Mar 2026 Cum, 16:01 tarihinde şunu yazdı: >> >> On 3/6/26 14:05, Fujii Masao wrote: >>> On Fri, Mar 6, 2026 at 3:15 PM Michael Paquier wrote: >>>> >>>> On Fri, Mar 06, 2026 at 12:04:00AM +0900, Fujii Masao wrote: >>>>> Thanks for the patch! It looks good to me. Barring any objections, I >>>>> will commit it. >>>> >>>> Thanks. >>> >>> I've pushed the patch. Thanks! >> >> Thank you and great idea on ALTER SYSTEM. I've been hesitant to add more >> tests in this area because they are so expensive but now I feel much >> better about it. But that's the last for this CF since there is more >> important stuff to be done. >> >> Regards, >> -David > > I tried to create tests with the ALTER SYSTEM approach to validate the GUC. > > You can review it if it's the correct approach or not. We can create a > new CF record if required for the patch. I modified the tests in the patch to use ALTER SYSTEM and that was committed at [1]. One of the tests (bogus) you have added here is a duplicate but the other one (upper bound) could be added. You appear to be working against an old version of the master branch so I would recommend rebasing and then add your upper bound test following the test pattern we have already established. I personally don't think the upper bound test adds a lot of value here since it is handled by strtou64() just like the bogus test so it will not extend coverage, but I'm fine with it if others are. Regards, -David [1] https://git.postgresql.org/pg/commitdiff/bffd7130e942e2bd45153ab09e5fab70e74ece58.