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 1vfxeD-006Un4-0t for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Jan 2026 09:58:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vfxeC-009UJq-1F for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Jan 2026 09:58:40 +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.96) (envelope-from ) id 1vfxeC-009UJf-0J for pgsql-hackers@lists.postgresql.org; Wed, 14 Jan 2026 09:58:40 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vfxeA-000MCZ-09 for pgsql-hackers@lists.postgresql.org; Wed, 14 Jan 2026 09:58:39 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-382fa66fa9dso59182051fa.0 for ; Wed, 14 Jan 2026 01:58:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768384717; x=1768989517; darn=lists.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=8HeoQ2JU3voe2128F8SXoDtYmfmgjB4YqLumvNwdiQ8=; b=CHSssDUeeCwgogtx34/GMtbHEDMQz/VMEzbehdAhKvItQmG67hbTz0NIpw8Ui6UIf0 fWB8W7U6KkM2IEsmjqHF5gbxC5n0/U20w8hDGKqFAN2syUyN31SIzfGo8NeHosoGoS9H 1iQ71Ae79l3DfyYhNxSrFknRswhk75BCEhFm/YhpBncMDQ9Rim+PCrXQJ7sRjdRPGsxc IhNz/xDZLeAyklwvFqgKv3S8sCYOeQeqM/ZDzfngVi77gZcluN8+cYxmG7ThNsMDxdu3 a7I7A/rVxD4isbgoQwuBfo9COJNrlpxJ1dcq3nxYojIJruvuMKj+wp4caT92i7itr8kk Bm0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768384717; x=1768989517; 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=8HeoQ2JU3voe2128F8SXoDtYmfmgjB4YqLumvNwdiQ8=; b=NyO82PwSA7IVpNbJklG7YYIq9GH8rLcxOZsXeQNvoPk4nXAg/9mUFPf2EL4Y2CSX8G Q3kYUSqHWMLNZPI1YPNK5dDnTBN8u0wLP6GqGDDY5NQzDwLD0D0y2nj3GtWJhLQrV+pe egiNhnHj89V5EevPgobzRivNmB2ZmXWa1MKBU4wFsbIQQHyw7+Pm0tWhpEwnW46E3Xmk RDR38ClXQ7U9otPy88iC9k9WyUxkyGW4bIgoaXqPPOpRd7TySkzF6mtqa2CMNHy9tFrF gRjH+GwYUfjhgFPxPEBmU2pRVRbXO1wvJqGNzXYRExG+FPDOO7ftk1qpxC2wYix5+jI4 Pkxw== X-Forwarded-Encrypted: i=1; AJvYcCXvmn5o+5YVsWYzwTYdHcdwvJIYw8KEXAf/+6zsHUBZsmFcV4dBtoIl/KGLAiWvY/GOEIOCMR+fyAyZZnGK@lists.postgresql.org X-Gm-Message-State: AOJu0YwS8HzESMbktoJdnjo2CMLoaDiBFTWGA3TvxTtqEcuJMRsg83UT gveaeN9lAIxFVofKS9aT09/WZ2SK6dmZRRpQIGkK1dGEvJtns0mjgT6p8B85UPZt6UTCqisddu9 W5kcZU3FUnOsRgO57/rSA9qCE9V63PqUEMmc+v7bh1g== X-Gm-Gg: AY/fxX5VkLUCuHofB1rG+uEFNum9mzRA8cnj+zivukVTBHpN6Qk/BX8CzkguCqblL8k L/zX0OVQsc8JZH95A4BnnHx0AliPOhZDH0O2T4qSk8rAOwkH0+XwggBTTKAV7DQ59WZpkT2xwW8 GKaap8agYo/CKPlhgV2oAN3hyN8xxwPBdUJYKekF7g62Wg4dTcwzk2iO00liP4ANCn/0dSG10en E4G2krvjM6SRrPUURFbYAFu42+JDOzYvOnRMQr1dYrsKRpB38Oj5jepuhsn151KzbICHI7RX8Nv v3fi0sNN+VdGgMVIc8wCqfIBpI4RQEWl7KIgtDy0 X-Received: by 2002:a2e:a781:0:b0:383:24fe:4ea0 with SMTP id 38308e7fff4ca-38360702525mr6413501fa.2.1768384716978; Wed, 14 Jan 2026 01:58:36 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kapila Date: Wed, 14 Jan 2026 15:28:23 +0530 X-Gm-Features: AZwV_QimSycoil1IDOXviUd9ANgaWBqyh43zU8EtDcXD2sjqMgZ7zaIwBxti2W4 Message-ID: Subject: Re: [Patch] add new parameter to pg_replication_origin_session_setup To: "Hayato Kuroda (Fujitsu)" Cc: shveta malik , "pgsql-hackers@lists.postgresql.org" , "Zhijie Hou (Fujitsu)" , Doruk Yilmaz 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 Wed, Jan 14, 2026 at 9:13=E2=80=AFAM Hayato Kuroda (Fujitsu) wrote: > > Others are corrected and adjusted by me, see the attached. > 0001 and 0002 are combined because no one claimed them. > A change similar to what you did in replorigin_state_clear() was required in replorigin_advance() to prevent advancing origin via APIs when it is still in use. I made that change and pushed the patch. Thanks for working on it. --=20 With Regards, Amit Kapila.