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 1wDaq0-0039P7-2l for pgsql-docs@arkaria.postgresql.org; Fri, 17 Apr 2026 04:29:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wDapy-008AH8-2d for pgsql-docs@arkaria.postgresql.org; Fri, 17 Apr 2026 04:29:50 +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 1wDapy-008AH0-1U for pgsql-docs@lists.postgresql.org; Fri, 17 Apr 2026 04:29:50 +0000 Received: from mail-yx1-xb12d.google.com ([2607:f8b0:4864:20::b12d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wDapw-00000001Pyq-0tuF for pgsql-docs@lists.postgresql.org; Fri, 17 Apr 2026 04:29:49 +0000 Received: by mail-yx1-xb12d.google.com with SMTP id 956f58d0204a3-65005a8840dso255277d50.0 for ; Thu, 16 Apr 2026 21:29:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776400188; cv=none; d=google.com; s=arc-20240605; b=MN/BqzMeQDpq6lZH0mRSVWxqKpJdO4IMJDWWFAm03iKF4fpx5QQL2drtdHTqG+ndPq i2UKsCkVRFPiPzhVX++UgVmEDW6DuiOuwpOmF98dkAT7tPtBYbgO9ZAq8AjFjrLMslfM hsZzYphnxWyiKD/W4kYOfQNWkg+8t9SIprxSkAszMHwTl+bY9picrQs2CY86jbQeGPUe XRk9htMFcBcEGb4bwCfPYeTzTtck1CusRe++N3INTo/0t2aFCotPmAwk0KLn4bLNZS2l aJY5N2EUNKEVwdUKH2CXFEDK+TLqeZNWfIBlg7NwsfHy0IsjpPXLTOJlENdHGCCL5FYL 3VJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=JtpGWQpcOfhluBxYrrtmaMETzIyjrRowRoCoBrlUffY=; fh=zQQ0wcfs7Kwsxh12eZ5h4SfPH9TMOwk2LcxWqK+pBlo=; b=VcAFfs3LGYrJ59A94J3Yk7m8oKBAp0rV1dKyFve8js0glbYwrmmnidq5IFyqbn8R72 rg/NXHArKGX264mpBM0ZnQcBvy3PI486fu3ZuV1oRKxYqFBHh/ZGFrQyPMTJFG1s3j8U FbGR+ZGaQQzce4XwmeAc74XEXTqpXwDTdWgIKwUQ3VeViv8X/MVfP5ycNYaSOpRF5ez4 UBQajPMdN6ynW0AQZZX1NBc+35bydP//HuFJC0BHYZeXElm9J3Bo8nziqFyfTeJWpf6/ 7yjYSbAKHukEA9o0l6W1tk18iMfEqFgcUzaPFukAnwH9wHrVyA12BcTmYZ35Xcs29uH1 HkkA==; darn=lists.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=20251104; t=1776400188; x=1777004988; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JtpGWQpcOfhluBxYrrtmaMETzIyjrRowRoCoBrlUffY=; b=bYxcVYrLJ5EiN9HXhqdtoXwVwr20+QMZAm6Ow9MZvrq02p9ZGNUOamqzVOoOTnx3GG N7qrj50Rx2pN9lA6Act1YxI+JfLrfCUHH8gdtKwai+a7C+lChVTJqRG3iHeKDkmGeakY L3xhZq1d2R5NM41noWdeD+puZgO22ga6DLMhg5p+CwqS4JyW2i29Dq998Pr6azaJgNrQ Lo3qRGtxTz/YuBQ4E8O7x0qzHhQ7frxqjoy2/AbmRn1WtO3RoSJP+P7TZUy2/lb0yJ2c W072HivJgEl2GLC/W6YJR6LvkzrT7baz8Dpi9Es4LVWIk4pDHvjUS/aAKGmoznG2uaJq /VoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776400188; x=1777004988; h=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=JtpGWQpcOfhluBxYrrtmaMETzIyjrRowRoCoBrlUffY=; b=LbROGYIxnS0XV9a4UWmoBhZhACHvwTw+bJx/En5AxK4owPLDY1ugEmXsbdzr/1A1sx 6AFDRowbT6/IdEAWVsI4KBUB5SW9aDDS7om6wrF2UVr5eL2m4dfIDKkcn2TWDPV72LBc 7jtacXO/fmbzfRRPmyUk6mpcjlyX2O9p4D3ZO4F0Q0ELScDsmrxPDDgxkYmKx8+2gKMR nk+sMtDuP/k7cCn8vjbH1JA0IlmwpvVzbEZkRe6VCmXzQlXYnnvf7DeVdYxCoBFydW7U XV1u1AzkoHqBLlcvFSgzmwrGpOM9OJMkZX/E5006OLHKPs4X9u8jEN0CgElDv1MyBw9x iC/g== X-Forwarded-Encrypted: i=1; AFNElJ/x5Kyc/ABcjCXkYxQs3DDUOS7w0H2HNpoT9X2ORcMG/0iErdbFn9SMRfEa2bNApLmEACP4taQr87b6@lists.postgresql.org X-Gm-Message-State: AOJu0YzFd3lmJ9J1Jgd7c32Uo6Hfqp0/ombgsrFMZpe3hqUOQTelW37a RNBdd1kK15GR1VpnZeO92LBJoqOF9zVdRELzbLonc6YyvZD4eLvzb7EMbH6aklvpP81akK5tGXg 6PJ0OsypJaAsqXVROEF2E5sSuHsYbWhl8nQ== X-Gm-Gg: AeBDieui7N9uHLZ5k0+//tCpB2lIAfg5bBOWEdMM92PIiCGyBs0lmcHkSDunTrUK/OH m83Zoi6ItW7ovuP9Mjd7qnrskTw+8Y9EDWcXCDFb77EkpkKWApq8Ot07pRpsg/UcuAvP8HdI4/T aMCMHI17HHdBh+Bsu3gDzFMZjwiLt2x+qKTFKuVzoKclcwBj9Qmq3JIdS1LJgjRaMCUXxYypfub 546d7VFN4GGdAd0QCNjUJ0b4MrUG9GnpAijydSOs7sl1XFbiTZjMMd0Qj2FdNhsXUmE3k1rIggC VagUj7vqlE/Ob7vBUgTnF7g3i2Ld X-Received: by 2002:a05:690e:44da:b0:650:2ff9:d65c with SMTP id 956f58d0204a3-65310839c27mr1045610d50.18.1776400187890; Thu, 16 Apr 2026 21:29:47 -0700 (PDT) MIME-Version: 1.0 References: <177609278737.403059.14174275013090471947@wrigleys.postgresql.org> In-Reply-To: From: "David G. Johnston" Date: Thu, 16 Apr 2026 21:29:09 -0700 X-Gm-Features: AQROBzDUtEXuCH2zqU4GAzfDEHzEuN1M5hgIulUSLiW0bXLl7lZzS4BXu0k8pgs Message-ID: Subject: Re: Logical Replication upgrade To: Amit Kapila Cc: "mimidatabase@gmail.com" , "pgsql-docs@lists.postgresql.org" Content-Type: multipart/alternative; boundary="0000000000002d9ef6064fa06665" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000002d9ef6064fa06665 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 16, 2026 at 8:55=E2=80=AFPM Amit Kapila wrote: > On Thu, Apr 16, 2026 at 11:16=E2=80=AFAM David G. Johnston > wrote: > > > > On Wednesday, April 15, 2026, Amit Kapila > wrote: > >> > >> > >> So, how about: "All slots on the old cluster must be usable, i.e., > >> their pg_replication_slots.conflicting is false."? > > > > > > That works. > > > > Then we=E2=80=99d also change: > > > > The new cluster must not have permanent logical slots, i.e., there must > be no slots where pg_replication_slots.temporary is false. > > > > To be: > > > > =E2=80=9CThe new cluster is only permitted to have temporary logical sl= ots, > i.e., ones where pg_replication_slots.temporary is true.=E2=80=9D > > > > What you wrote is correct but it is better to keep what is not allowed > for this case. Based on that, how about the following: > "The new cluster must not have any permanent logical slots; i.e., any > existing logical slots must have pg_replication_slots.temporary set to > true." > > I was like 51/49 for flipping that around, so sure. David J. --0000000000002d9ef6064fa06665 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Apr 16, 2026 at 8:55=E2=80=AFPM Amit Kapila <amit.kapila16@gmail.com> wr= ote:
On Thu, Apr 16, 2026 at 11:1= 6=E2=80=AFAM David G. Johnston
<david.g= .johnston@gmail.com> wrote:
>
> On Wednesday, April 15, 2026, Amit Kapila <amit.kapila16@gmail.com> wrote:=
>>
>>
>> So, how about: "All slots on the old cluster must be usable, = i.e.,
>> their pg_replication_slots.conflicting is false."?
>
>
> That works.
>
> Then we=E2=80=99d also change:
>
> The new cluster must not have permanent logical slots, i.e., there mus= t be no slots where pg_replication_slots.temporary is false.
>
> To be:
>
> =E2=80=9CThe new cluster is only permitted to have temporary logical s= lots, i.e., ones where pg_replication_slots.temporary is true.=E2=80=9D
>

What you wrote is correct but it is better to keep what is not allowed
for this case. Based on that, how about the following:
"The new cluster must not have any permanent logical slots; i.e., any<= br> existing logical slots must have pg_replication_slots.temporary set to
true."


I was like 51/49 for flip= ping that around, so sure.

David J.

=
--0000000000002d9ef6064fa06665--