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 1tsPFf-001bU8-TU for pgsql-general@arkaria.postgresql.org; Wed, 12 Mar 2025 16:48:15 +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 1tsPFd-008zZS-Fe for pgsql-general@arkaria.postgresql.org; Wed, 12 Mar 2025 16:48:13 +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 1tsPFd-008zYY-2k for pgsql-general@lists.postgresql.org; Wed, 12 Mar 2025 16:48:13 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tsPFZ-002U77-1b for pgsql-general@lists.postgresql.org; Wed, 12 Mar 2025 16:48:12 +0000 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3913fdd003bso57226f8f.1 for ; Wed, 12 Mar 2025 09:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741798089; x=1742402889; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=cz0z9Qt82OX70S9PEZtIMO6P589D+JKg+VNgUAQJ5xI=; b=goLNThdMaTJ1w3Jh/iquMm6IdJvcDlQgxq49OO6V15a0o6nWypzWIm9hernohZw61m 7D/jIeVPgOTDI7sQiRZoJG/UCeSscylA5jEln3jK9sj3POAGysIecwHQ9kn96jRcu2f8 Wscwjc0lsPw/x/Hf6Jk3NDzllDHokKvmPwv7qEhf99zdRnm5xnjSk9F/tG7pHYPTR04g zk5MrewpTmUxvFUA/OMmchGWZoo9oQx+ciwoneAjkK1I4aRJ4WmCywbB+ssqz+2MENR+ X61k8juf7l/psuPyJwjgaOpSCN6nbNqg4E37yEE/2ZbaTWS/rtsT3Nqel1pLE53FW+oG xlaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741798089; x=1742402889; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cz0z9Qt82OX70S9PEZtIMO6P589D+JKg+VNgUAQJ5xI=; b=WzZhk0A21WYRE6QvW6YHJkIdfHAwHlMZ0eXuxYYjWR82MbjtRW28hVnyPJwZ0QjVJW mKmsBCU0ELFzsbshCq9Bs5Z4Whd/dOmiG6hMpnSG8MRolDpcIGjer8QnatIrDqhOiqsO gPvKvfIpUu08FrRd3td3XUQIC2aSUMIV6rh6jvCEsndkqQ70MSkALvmOXrSeGcQhjExv uzUXNfvev5frr5wer13VNSIHq1hbQfv/zTRHfR+vJnuV0fjPL9OVwIIPuW7b88SeGzRi N3ZIUxRtONbfWlqu265unrZynaGr64kM5cp8ef9iXw0QFVvMe4F/Gr63EWoW9xfdhqOb UMsw== X-Forwarded-Encrypted: i=1; AJvYcCUN+7sHwHd/fmlDV3JRoCGEl+d4wkPgY6S1c/nfqQCTkTMI1z1xffzc2cvHGF2ptdmaBEVPKrshMWWyzzIk@lists.postgresql.org X-Gm-Message-State: AOJu0Yw3i2E3xIDp7OiaSQynBsLlWmCZ4OgxsF1zMWf5McV3yraaAnIl aiRpZYJ2fnVFRyMPkzIHQw7MIRbriLoRRM36eXXjbDNULNMlog1Y X-Gm-Gg: ASbGncsAlhMjS+Wvuz0t1eek4Xsa+9tz6IB8+eU560xY5SWiACCCmsEazF+RPL92tlX h8QxTbBeTgNQAdzyK/WBLaBW35uTR2FNZunR5Um/Il5S8tYkRpC+ijQacYCedbGcQW8U+RCgnXs xuU1QULo60W2LJWf+VupTFDVOdTEPHb35BHpHiMmDqzZlndNRH/kHJ+JH7j+uEac5pE6si9wkgJ eB4pJGcXb3D6MZ6Itjc6gB4f3LCsrEM76tnLXuWGTrg4Aou5NWVn9JUWVGc7CttJhRa68jU5fNY r4pYOi9s8+9N+Pv0FaWu6w/nQIDrNJpQrMXpDLgXHsLXzIrKkL7nYsGA/q5Z2aYgSXvRNHHvuZh 3rM3Sk29HW1r/G8HxjJqrSw== X-Google-Smtp-Source: AGHT+IGMPP6AAQ1/7JZRPlqnmqlXxEvrlc8Wv9IezRkeSGhuxX7L1HVAxVISjUbB4LFe6a+24rpQSA== X-Received: by 2002:a5d:64e7:0:b0:391:1199:22b5 with SMTP id ffacd0b85a97d-395671d94a0mr268772f8f.10.1741798089361; Wed, 12 Mar 2025 09:48:09 -0700 (PDT) Received: from smtpclient.apple (143-45-239-77.dyn.cable.qlnet.ch. [77.239.45.143]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d0a72ed3csm26478385e9.6.2025.03.12.09.48.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Mar 2025 09:48:08 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: Re: Moving from Linux to Linux? From: Paul Foerster In-Reply-To: <7FC835F0-FE59-45B3-8866-83E8549191D7@thebuild.com> Date: Wed, 12 Mar 2025 17:48:00 +0100 Cc: Ron Johnson , Pgsql-General List Content-Transfer-Encoding: quoted-printable Message-Id: References: <6E6059F6-E5A1-4A8D-8A5E-A41B921BBE67@gmail.com> <1DA96F05-D9BF-4D68-80D3-3F3F99691C8D@gmail.com> <7FC835F0-FE59-45B3-8866-83E8549191D7@thebuild.com> To: Christophe Pettus X-Mailer: Apple Mail (2.3826.400.131.1.6) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Christophe, > On 12 Mar 2025, at 12:16, Christophe Pettus wrote: >=20 > 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 = databases per instance and a few hundred developers doing their work. So, logical replication online for me is more of an academic case study. = In real life I need downtime. Cheers, Paul=