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.94.2) (envelope-from ) id 1tsPQf-001d5P-Op for pgsql-general@arkaria.postgresql.org; Wed, 12 Mar 2025 16:59:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tsPQe-009BbT-3Y for pgsql-general@arkaria.postgresql.org; Wed, 12 Mar 2025 16:59:36 +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.94.2) (envelope-from ) id 1tsPQd-009Baz-Ob for pgsql-general@lists.postgresql.org; Wed, 12 Mar 2025 16:59:35 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tsPQa-002UBY-1K for pgsql-general@lists.postgresql.org; Wed, 12 Mar 2025 16:59:35 +0000 Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3fbaa18b810so37640b6e.2 for ; Wed, 12 Mar 2025 09:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741798772; x=1742403572; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Wo22aNw6o36lp4ybC8tdeFKoGNgccaCv6We36xR78S4=; b=S5URY7zrCGAGwZS3fcpLyaDo4YKWYu6X/uuz5oPjgZrH7XQWPDDEoOqSdXsJR1Q0Zs Gr+rRZwB/M1XGq75Ggax3u03fx7W1mtW8d74uur7mz7DjafZJiS0JCCVRGcb900vLkMv vZ2Hjs48rZ+t6u9yG13wQJl52jKDC8OR3cs/A1uTD8V2tduNiufa1fRjqCqSjdujyRYS QIpPtsOyvjLqnKQ67oOTP8OPoINCHnlzQIOC1VhIsBB7sCDhRzQ0/DkzJwkLsdg8e8LF yYm1dViWRgGS5zXnlb0IRHn7gSnMGxvIQVULyfWdCRDteWJ8q+h5AFjZ65oxwWnNJ8wJ yBEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741798772; x=1742403572; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wo22aNw6o36lp4ybC8tdeFKoGNgccaCv6We36xR78S4=; b=VqYrT2ZwuFt2wVICeIVVVGiSSYxVT8ha5C3QOc5rtAyV855VzFsyTklMEjaRne6jtV O5IFAhM1AzKP3UuDcGvDmmtkc35VRfy1GsubkPqXFreOZNtF3zi7Jk3pWxzQzCohAOsx rRk15H2fO6uWsdegyYVx18qS5wbcKUC6iTx+zF8c3WzSSmueiw6stG1JbblIjsncuzfo jq2LWVsM31N3KA7XF5kSTpM349uDfFqumGyPm89PZzYnO8FMGd4Bic+nJCIh/sE9r7ST /23YXhMtwRh1QSjRKtW8+gLG3zaKmfHKTxpxOpsfIHgjJk29s5PjfMJQkVcbNbNRbQJN Vtww== X-Gm-Message-State: AOJu0YzKgiPIlJk6d4Ii3fC6u+Fob+idL/hvLwtOHn+H2DZNCNaaSnd+ RmSQy3/4tJ8r2TZDlEd3jLLZq4vnqOhSEeIBcb8bDNmWs9fvAC7oEOZQV1Ebt2jsB3sY1gmcDWu L4txFlpWkXESKfjbG7WnelOTj4Jn9mA== X-Gm-Gg: ASbGncsiwrRkM1tK8Z0DohJmQB2FO0WTyTDdl7oYemVZAiLli4Nc77jggDBllywXYZO KQfbfacMpNqGoiHcAPwjtdpzb6aG9RHMxPqMefm3/IeEXaUf9Ff+d6n1NCQROZwTqwY6y149MSz aGTGUmMiK6o4Nfi1sxbG8vn1gL+4caxR0OFMft8KppPOqFImHCQi5Y2SE7jBc= X-Google-Smtp-Source: AGHT+IEeuXmWibYDqMqpUkqM3W9BqcY4BVcQK4AhS4RQB/JrNvEBP8tAKt2XHvMEM1uhdxC9lmeIKpKen8FbHo+lgJA= X-Received: by 2002:a05:6808:3a0c:b0:3f7:bf8b:7d94 with SMTP id 5614622812f47-3f7bf8b801bmr7785145b6e.14.1741798771792; Wed, 12 Mar 2025 09:59:31 -0700 (PDT) MIME-Version: 1.0 References: <6E6059F6-E5A1-4A8D-8A5E-A41B921BBE67@gmail.com> <1DA96F05-D9BF-4D68-80D3-3F3F99691C8D@gmail.com> <7FC835F0-FE59-45B3-8866-83E8549191D7@thebuild.com> In-Reply-To: From: Ron Johnson Date: Wed, 12 Mar 2025 12:59:20 -0400 X-Gm-Features: AQ5f1JoVncWJzS1jq7Ptxs50AKZuzi15h7Jf9__j3mJdweUPqLQQVixFxPoLPwY Message-ID: Subject: Re: Moving from Linux to Linux? To: Pgsql-General List Content-Type: multipart/alternative; boundary="00000000000010239006302821ec" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000010239006302821ec Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 12, 2025 at 12:48=E2=80=AFPM Paul Foerster wrote: > Hi Christophe, > > > On 12 Mar 2025, at 12:16, Christophe Pettus wrote: > > > > You *can* apply DDL while logical replication is going on, as long as > you do so in a disciplined way. This generally means applying it to the > subscriber before you apply it to the publisher, and making sure that any > columns added to a table are either NULLable or have defaults. > > Yes, I know, but this is a non issue in real life with dozens of database= s > per instance and a few hundred developers doing their work. > Developers making DDL changes on production databases? Or are there prod and dev databases on the same instance? If so, then know that you don't have to logically replicate the whole instance. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --00000000000010239006302821ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Mar 12, 2025 at 12:48=E2=80=AFPM = Paul Foerster <paul.foerster@= gmail.com> wrote:
Hi Christophe,

> On 12 Mar 2025, at 12:16, Christophe Pettus <xof@thebuild.com> wrote:
>
> You *can* apply DDL while logical replication is going on, as long as = you do so in a disciplined way.=C2=A0 This generally means applying it to t= he subscriber before you apply it to the publisher, and making sure that an= y columns added to a table are either NULLable or have defaults.

Yes, I know, but this is a non issue in real life with dozens of databases = per instance and a few hundred developers doing their work.

Developers making DDL changes on prod= uction databases?

Or are there prod and dev databa= ses on the same instance?=C2=A0 If so, then know that you don't have to= logically replicate the whole instance.

--
Death to <Redacted>, and butter sauce.
Do= n't boil me, I'm still alive.
<Redacted> lobster= !
--00000000000010239006302821ec--