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 1wDaIN-0038g4-0d for pgsql-docs@arkaria.postgresql.org; Fri, 17 Apr 2026 03:55:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wDaIK-0082FN-38 for pgsql-docs@arkaria.postgresql.org; Fri, 17 Apr 2026 03:55:04 +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 1wDaIK-0082FF-2Q for pgsql-docs@lists.postgresql.org; Fri, 17 Apr 2026 03:55:04 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wDaII-00000001Pjk-1ufV for pgsql-docs@lists.postgresql.org; Fri, 17 Apr 2026 03:55:03 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-38e7fc3c419so2127121fa.0 for ; Thu, 16 Apr 2026 20:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776398100; cv=none; d=google.com; s=arc-20240605; b=hrSd8yamx0jeU92PRG61sCtqHmwmMlQTipybZD2xkwdK7St9bMEfcvtxrl1G49+j6T zxhcfaWhmTcowcy8gCPH1rLNBK1H6S4Nlm2FELrMJOlTfD/5eCzrkscC+t/Bl/NJ4BRa KzwR5p35sGrd9tIeSanpgOyYRi/lLq4WyWAzNjCZB8Y/s09/+xUx0dqo1PX4H3/o1bAC N1BT8HN/cItIMkM5wCn/qTYzN83YcPps2519JymwpnX4wglITbjWPn+c9DBEoI1EEzR8 mOV0RZHac2XnBuANnp97BmH1s2cyU9Xm8MKnsjjwaInujcm1zk581Ilf6h+qVAEcRwkq ZG9A== 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=HdhiHTUI8/Tpcqaf+Li5MhjfVi0cyVoU08uiqSCqJTM=; fh=ojvFEjzoAjI/tOpuIFmCbGH2+V6reWw0pcR2Ua89KQg=; b=NKbu3OE4zfdWY2AiyeVynd3KLakcu1InlfzApKvCMJ9Qki6T4nF9vZIJEv3SEcdak8 jUgAmr4g7z0IeP5dujNRTjYXOQvNglkkdp9UHI/Q3GLquQdioTkKAxQSZYp9THAF0VK0 qWd0pe48qJ9lApdrSYBcSn5uipTSl5wiOGEZJaJWCxPDpXtcCrgr2sdPfZLm8uZok7oR aDwD5gi4pjATkRSLdU6lK6rZfZmDs2G0T9NZI2RWmgthMYz2qle+QTiOv7tCatKXLCh7 75e8+dGh0KPH1/8g4quFY/3qkKKYVwQc+JAnwIdFYrsTaCZp9FuCy9chG8se+osWhr+h y6bQ==; 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=1776398100; x=1777002900; 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=HdhiHTUI8/Tpcqaf+Li5MhjfVi0cyVoU08uiqSCqJTM=; b=sL4o9dVzCvMHpVGO+iWFmznWubnTGTXAFqENbajd8nAvgC1LE4AihUZk9OSgnPjlWm Abvgcd5x8lrUXjXU9QpZYRjcW7T2USXqhq0NK81dZ1SY3c6yxSnjMtB8eJJpizMSkwAt gLaAO7RLUYknipxaebjpg2GIkzwOLvCeLHLL+hWY3Qb4P3lgdJfzzN5GWZHxill2ycwH cJ6KnnJMEFFrwjwLT/Prd7eYppmeEY72UMspzt+9yCKgrHprRNfrHN0M2CAXM2AyMFJQ 35IJpPxCLb0m/3uFqp5K98+EZAcoqSq3ejx5Ur3jSLfNtYl1I6GtWxjAbSo5xGaPEqOB k1IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776398100; x=1777002900; 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=HdhiHTUI8/Tpcqaf+Li5MhjfVi0cyVoU08uiqSCqJTM=; b=EJydjOvtZQWI5R45LVHb+tgBq8Dy76sGDTYySB40SEJu9qOq17XcCvhz26rnB3qNVs YagNtXywnH8sFOY8rFVpP8isaBD5eTHY4lX6zgFGsogu717iUD3il+H8ozj2mE77r4iE nrorZD0nQcLb4ei9D+zi7t/8y7qi03vXlG1kaoyfu3DR2esbFI8aadV9ZML+S1niQkKU 1HzNi9OR9YKeFx+gHfdd+0tYH33J525TasFvl39UWlGfV5Z+4xW8GA/5DChKaiTXQvY1 2ObHojc/5iGJRXsgGC2m+RcGdfSmTC+RezJ2CSXwg2OPxQZ3uwgfXELv77klsOFeBGRv YezQ== X-Forwarded-Encrypted: i=1; AFNElJ8E4+StrbyWhFWjrbVazWtaPeXWBeRCCG2uxXymCuAfv20b9wpoAOxE3ogUv/N9+rFvMlRhjEiAWcP8@lists.postgresql.org X-Gm-Message-State: AOJu0YwVLB/GNJo+G7lUzmNNdkebup3yghtVwgrXahPrWKv5ZIERzhj+ hZNmgx4Gry45dxXrLc2JSeMp4RVvY5pBPXC7x1MG3SLBx0XQVNyniSw2G20DWLFefFDzSY6OcNS NLlsgc/EK+pP8Y1xmG0cRDfxGGx60Yk4= X-Gm-Gg: AeBDievuGbIEXtKzyJjRRc9vBF3iXppt2Xk0kaVEWKDuDIkzuOLEawYJYLjYFInNBuo 1HU8w81SD2l8/yvSRci5DrV+LWcZT/MK/DSvSExQ7/o8+ee4Ze9UJCWfMUl05bu0G/ySB6GqUb7 e9KwNcoRqagCaM1Ogkhf8VxUVxsjVT1xPhXjFzvgONlo5hZFoTs6vqHRNMSTuVTzltI1Xh56cki 7NGjKHPRxabxVt1zgPBLnfU3G4yFouiDpijTlH54BFYDpCm/bruEsuGkRB3SpO2mvTY0h33DMHZ 18YyiAq6JBi/jh71sK57mNNbUkpE0fTjmllOFUaHUKOfBpZZ5T3Xn1JCxisO6yUjmMiDzVTrti8 q7UfWT/Cm X-Received: by 2002:a05:651c:418d:b0:38b:e464:f047 with SMTP id 38308e7fff4ca-38ec7834f72mr3136701fa.12.1776398099634; Thu, 16 Apr 2026 20:54:59 -0700 (PDT) MIME-Version: 1.0 References: <177609278737.403059.14174275013090471947@wrigleys.postgresql.org> In-Reply-To: From: Amit Kapila Date: Fri, 17 Apr 2026 09:24:47 +0530 X-Gm-Features: AQROBzCCRvW1vg9Z_WeXQGD-tWKUunxrRcwXeErFWb_7dp8XXYTFgTBLUNzRpl4 Message-ID: Subject: Re: Logical Replication upgrade To: "David G. Johnston" Cc: "mimidatabase@gmail.com" , "pgsql-docs@lists.postgresql.org" 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, 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 b= e no slots where pg_replication_slots.temporary is false. > > To be: > > =E2=80=9CThe new cluster is only permitted to have temporary logical slot= s, 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." --=20 With Regards, Amit Kapila.