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 1u7wA9-00A83S-Pf for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Apr 2025 12:58:46 +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 1u7wA8-00HItg-0d for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Apr 2025 12:58:44 +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.94.2) (envelope-from ) id 1u7wA7-00HItY-MV for pgsql-hackers@lists.postgresql.org; Thu, 24 Apr 2025 12:58:44 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u7wA6-001iKh-1L for pgsql-hackers@lists.postgresql.org; Thu, 24 Apr 2025 12:58:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2025010100; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=twJlxNMfIaBM7LoY0fA7kN9d0xIpA/IeaMuSd86MdZ0=; b=Yg5LXEB0WpnxPQFTwbv60dxtPw 3vQ0uXb/HFqTDl1x4HzKFoOxabum9uWHhT7pYx+dEosH4ssUn83MkRbFUigPROnlnAqrQufbIhSTO qidDdBecwyFf54hZ/LFumxZIaubhL96K6W+8EmO4gT/bhnai4MjTqe8v01r38i3BNhNv+YL2mi5IB ABdSyJW5M+Xa2WZhXcdYBaMHu8AL7beMCKS9BAFU9P1AX9k1Q1bVW1lBRrdumLXEAVneIf79hbUHt MRQ4ACM4slARNLqHbqhdER4NFhFa/gmTpld7JmhpXUYd9hLarImijMX3MX1rwpSHfsl5GBJUBw+IA ArUyBBvg==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1u7wA5-008sel-2w; Thu, 24 Apr 2025 08:58:41 -0400 Date: Thu, 24 Apr 2025 08:58:41 -0400 From: Bruce Momjian To: Greg Sabino Mullane Cc: PostgreSQL-development Subject: Re: pg_upgrade-breaking release Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Apr 24, 2025 at 08:51:41AM -0400, Greg Sabino Mullane wrote: > On Thu, Apr 24, 2025 at 8:37 AM Bruce Momjian wrote: > > When I wrote pg_upgrade, I assumed at some point the value of changing the > storage format would outweigh the value of allowing in-place upgrades.  I > guess that hasn't happened yet. > > > It reminds me of TDE, which is an good example of that, in a way. It requires > pg_dump or logical replication to go from unencrypted -> encrypted. If core > were to have something like that, I guess pg_upgrade could technically support > it, but it would be equivalent to pg_dump. We've all been spoiled by that > awesome --link option! :)  True on spoiled, but I think TDE is being held back by code complexity, not upgrade complexity. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future.