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 1vyAFQ-00HVCL-2w for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2026 15:04:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vyAFP-0004F2-0t for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2026 15:04:19 +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 1vyAFP-0004Eu-01 for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2026 15:04:19 +0000 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vyAFN-00000000x75-1170 for pgsql-hackers@postgresql.org; Thu, 05 Mar 2026 15:04:19 +0000 Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-463d81452abso5224699b6e.0 for ; Thu, 05 Mar 2026 07:04:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772723055; cv=none; d=google.com; s=arc-20240605; b=ArURsZ7lzoMOM7y2PzqWMpXHvaa4DVRZs7EJNDOkMMx1Krgha62bSd99rTd2u5qnZ2 H8XUVYkY2FI2jrDY6k9rnW3gJW75NS9dx8jFTjbHTJ0X15OKUE5Qydp4zgYgOakBMfQk uFAckDQtCTCzpzCtbGLg13vf9ugolVdTGgwO6fJ0FRnLdGrbOvQ0fGRB+LgTqpfk2pVg qBNRXrr9pILdWGSDbscTyXmxvMaZMAvCovUg43YK5vbJst/2O/GdIg5oXBwDwAyCd8ri eWS6lDuJrVU+RBgXqC94l24S5+HYnhvXT48kvdwKwZ/iabxQ8WW0aYWxa/tZViF7LtuF bwwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3/H+rK2HHjx3umO/9SAG3WPGLb8GnHPEmZUgjLuyVxQ=; fh=cksFkrpOW/uwJzeYF5IVpB0uF0FT1yFalV/Z2V1iV3s=; b=OOKmbWfDV4WsfIsi4KOXinqBuo9STPZVKxNGiwhr8w0s1rn8DplOCbjB5HaOGr0+Fo M94vXPFjger/sUVfbi/88ynoEaGHBuKQy5xdrzL58G6DISTXRV0UsvzGL2o8AzXQackg k0HdynLwBcn+XDqycbmn2ZkvqK0XMpdc2LBOMtcTplQL8IJrKCNa3SeJrGCzeFeLGXq6 CfMci8Gsnx4p5AcxfKPJAGRrRRSuQxpHUg47JeoG98jHEfSlbn5CyE+75b1mBASC1Cl/ FiUWBiKYjfdxzor/5TAtVL09w094TvADo/6IQN3nL0n5k/x6klGXSHD1ApHhrEtpBr6L 93ag==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772723055; x=1773327855; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3/H+rK2HHjx3umO/9SAG3WPGLb8GnHPEmZUgjLuyVxQ=; b=Ip9wkwQ4rTZ19grh1SwANLmoPKj/Z4PrCNl5AGCl7fMMU9FFjDKxdS4jcjQTatJpVM Nt1x/QlHTsqX/TAhrovRWahvTkuK1iiXrLDVhrV1H7/t3nks2yOQ/qpdaDH1zT5rvTxz J91sSHIbZRMHWICi8/w59jaVmYwQ8l4NTbWoBAz4gegoJlzNBDNMbfcn9oaemo4T5TTo cwJYbmZ5/9f8FFOOitm19ZRFn6AN2zUeSU5YRIIuiYGPtDCc+zBJqXsQj69iia0ryMsi bUMn9nkDt3jTaK8ouCYeVHm33SUU/u9w/1httxE85u5NmEeZLinRonUu8ZANoAa+PATJ vfGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772723055; x=1773327855; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3/H+rK2HHjx3umO/9SAG3WPGLb8GnHPEmZUgjLuyVxQ=; b=vmNyyBjUJQjNhnq0SNDYZU8pnX1rGgcGjd+LhgXoXRxhV45D7CC47vTYmJNXag74Mw mruYKncyPhMvWARZVFBOgQtS/Dv7OmyKEr1vmWoFm3/RAlX9yx43pNgV1eL9B+kfKuTG /sKHKiWk3fqSZKFj/WqAHLvLtn4Y+mk3p8DL2MEur9tdXAAIymDWIAInePNhChVB5L6X LYKUA+0K+cNQ/IVFRyfoUV5kBXL6dMR0zNZftk47PV9BtDV/WBA4tdkAAfWgb9KLGG7d gjI5rbe7BF/yByrr84IjlKnE2XD6A0B2TsAkFAgXQJtJyVEkGihrRNqSn/gJ9kqhx3if xVWQ== X-Forwarded-Encrypted: i=1; AJvYcCUx+3TKe7FrmKuY22jRhNh3KHMeyM3G/cSmop7GGbEBhHL1mRMEJ2qG0GLoki5k7gxwZMtmFZDdBNjJ4Eb7@postgresql.org X-Gm-Message-State: AOJu0YxmBeyWp933VxEcowC01BoBE+O2DoemZYrD8yheA+qSIO84C7lp wbROuKbCEwKLMND93KdSIufG6ZKk9rLLJkHqbdgkyLl0YJaSri2MhO+xNhq0DDTgAehrlTV1Lfa lvk+uJhGtGHQQIMPJ1+mOY0aa5DBXwtg= X-Gm-Gg: ATEYQzxQ5+Sx4tB2ThbSZ27yfb0vIA35wzL4WzkoWvXrq8XkBUufgKUZk2kFG+U7OBx ljJfsELAyth/3PbeBARcSPsSRduHSARBZDmd6Jj+WIrWUt/wJ8CtJ6HC48skXvIYzqxRRgZZph6 YlR5tiE2x+DPAEb3YmOQnRyEC6OgSAdYQD+FwDmQ8i44XC8CEOuhjI2xJLObkMC5jGJ0wmUPRKw xvryzP6WO0TcMt63OngetIAat8DurGGESfQQxA+2WB/Dr+PKGORCMtLTDSg+LZvaE+zwJK3cNw5 NGlAmsqafuCsZHi6BbfWwpfWuQUP/j3Y22B8lhEw3w== X-Received: by 2002:a05:6808:11ce:b0:463:ad0a:2f38 with SMTP id 5614622812f47-4651abb18admr3132257b6e.23.1772723054796; Thu, 05 Mar 2026 07:04:14 -0800 (PST) MIME-Version: 1.0 References: <9e8b7ee9-4a16-477a-baa5-0cdf37a04798@pgbackrest.org> <8733e942-56fc-4542-9351-63f213f7e23c@pgbackrest.org> In-Reply-To: <8733e942-56fc-4542-9351-63f213f7e23c@pgbackrest.org> From: Fujii Masao Date: Fri, 6 Mar 2026 00:04:00 +0900 X-Gm-Features: AaiRm51s4jhCiFJxMw5uBXI55d_28OrefS-SUcwy1XrL1TrFLtKepo7rDRGl39U Message-ID: Subject: Re: Improve checks for GUC recovery_target_xid To: David Steele Cc: Michael Paquier , =?UTF-8?Q?H=C3=BCseyin_Demir?= , Pg Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Mar 5, 2026 at 10:32=E2=80=AFPM David Steele = wrote: > > On 3/5/26 19:42, Fujii Masao wrote: > > On Thu, Mar 5, 2026 at 5:15=E2=80=AFPM David Steele wrote: > >> > >> On 3/5/26 12:03, Fujii Masao wrote: > >>> On Thu, Mar 5, 2026 at 1:21=E2=80=AFPM David Steele wrote: > >>>> The prior standby is not running because of the invalid config. I > >>>> figured it was better to start clean but when I update the > >>>> recovery_target_timeline tests I was planning to use the same standb= y > >>>> for all the new tests. > >>> > >>> Alternatively, we can use $node_primary, since ALTER SYSTEM SET with > >>> invalid recovery_target_timeline or recovery_target_xid does not > >>> affect the primary. > >> > >> Well, as it turns out I was using the primary after all because I copi= ed > >> your example and forgot to update the host. Seems weird to set these > >> GUCs on the primary but as long as we get the expected errors I don't > >> suppose it matters. > > > > Thanks for updating the patch! I've pushed the patch. > > Excellent, thank you! > > Attached are the test changes for recovery_target_timeline. I can start > a new thread and add it to the next CF if you like, but since it is just > test changes maybe we can fast track it. Yes, let's discuss and review the patch in this thread. Thanks for the patch! It looks good to me. Barring any objections, I will commit it. Regards, --=20 Fujii Masao