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 1u7xG6-00AXwV-QU for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Apr 2025 14:08:59 +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 1u7xG4-000QB6-0r for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Apr 2025 14:08:56 +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 1u7xG3-000QAy-Eg for pgsql-hackers@lists.postgresql.org; Thu, 24 Apr 2025 14:08:56 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u7xG1-001ip0-2X for pgsql-hackers@lists.postgresql.org; Thu, 24 Apr 2025 14:08:55 +0000 Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-3012a0c8496so872338a91.2 for ; Thu, 24 Apr 2025 07:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1745503733; x=1746108533; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MIT3XJGskX261w5fTMUiRCYsMkmTPruAcMh6xEAwcfA=; b=ErsTpsJmkfvun1VI+tQHIbSKkW8R2cOQhctfUwAUwvpD1r01zSX7RbHOab5qhzNGCQ Qub+m77jJoHLfRKRPDM1NkjhzObbvUab6gV6vasRSybYYXKkwHv4pNZFuH3DxpZe+Xy4 AX3UUO9TkwS3cTgxHcusBz5295hTPJmJNQSPM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745503733; x=1746108533; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MIT3XJGskX261w5fTMUiRCYsMkmTPruAcMh6xEAwcfA=; b=l+FFL6YXGJSfZMKV/iuttm/xWBRVWTgXQMAVpTPJDPBhhEezErd16B9AbcXcMHnL1S c5GlSZLaRlcoOQbLcv8ds8b61LzkvNxcpFkzMVWsY18pftVEpHLUFBg6s1TT2EcZVndh 1ZX3+vS1+oFPUCN/UHOASRKSEWCLvpQu/mRJnA9lfeyAwb8HkrUnMmvORtXSKKkdmWNC wfh3OAhtVh7lN83LnSiOFdylMKThfIbXLU+hM9mArkMsRUzz1PimLgqvpEO9ZDCeftUy KqBhLUOU3QV4TbIT8xblCiH230vNXkUO/ammLVapV3Qs1QpNv1SXNRKfBe/aNS57M08T ogrQ== X-Forwarded-Encrypted: i=1; AJvYcCX0TlHELT1T1MOXS7vZq9P3CCD6QkjkJn+/3+xRaJuFw7p9lDGPPHUbWlNufr5O7MMs5NLnMuPND7bU9EsI@lists.postgresql.org X-Gm-Message-State: AOJu0Yy0m8WjzzAanhQ7fbSXVYuwXYUBE90bNet/1H2IUuDmsVI+Xl0d fIlTn+XQfYmow11OkAhBLdm9nYVASxB9jY0iFaTlSWD4ggphrv7si5kXpRqULg== X-Gm-Gg: ASbGncs8Xixf+fNGHJcDADq8xcRHNySfP4a6rZ1vcu7FskyGA17Qo4GvMOFIJgvLbZL AS+cU7HJBUy0+nxGYgUVVofOnjNp8g8J7A/nYY+J5dLXzSkEzbMam8IR+dPf4Q8qae4V4AlmA2w mQfqtMhtTHy+UElc3rWGFCPYzrM45YTXnPKQKg8m1VBdSwkadZwB4dc28ulwfJO6BjkrgCGzr4P LrhGeyff7M2xwR+4u88OBOczPbKrz2tBip0lpXzw3jevAOo8jFuTVPuktRW1FD6bQqdY7oXq/o+ Rcibxjrr9GKFih9ZuoYuZcl58hk/mIzbsQKbgA== X-Google-Smtp-Source: AGHT+IE2UrQeaLYnywPmQUm/svg/jcpXKhFYXcQf3vbarbx4zbPM7+/cStTB42ZeWlACX3QuagDrCg== X-Received: by 2002:a17:90b:5690:b0:2ff:7ad4:77b1 with SMTP id 98e67ed59e1d1-309ed26a04amr4523513a91.2.1745503733033; Thu, 24 Apr 2025 07:08:53 -0700 (PDT) Received: from google.com ([2601:647:5600:80d0::31cd]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22db4d77003sm13621165ad.1.2025.04.24.07.08.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Apr 2025 07:08:52 -0700 (PDT) Date: Thu, 24 Apr 2025 07:08:50 -0700 From: Noah Misch To: Bruce Momjian Cc: Greg Sabino Mullane , PostgreSQL-development Subject: Re: pg_upgrade-breaking release Message-ID: <20250424140850.04.nmisch@google.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Apr 24, 2025 at 08:37:56AM -0400, Bruce Momjian wrote: > On Thu, Apr 24, 2025 at 08:35:10AM -0400, Greg Sabino Mullane wrote: > > On Thu, Apr 24, 2025 at 8:12 AM Bruce Momjian wrote: > > > > Do we think most people are _not_ going to use pg_upgrade now that we > > are defaulting to checksums being enabled by default in PG 18? > > > > > > I cannot imagine this would stop anyone from upgrading. It's one additional > > flag Yeah. We've had this before, with integer datetimes and others. People will notice the friction, but v18 won't be a shock in this respect. > >   And if so, do we think we are ever going to have a > > storage-format-changing release where pg_upgrade cannot be used? > > > > > > Seems very unlikely, that would kind of go against the whole purpose of > > pg_upgrade. > > 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. Having pg_upgrade has made PostgreSQL popular for applications with high availability and high data volumes, applications that would have ruled out PostgreSQL before pg_upgrade. In other words, adding pg_upgrade changed the expectations of PostgreSQL. A storage format break is less plausible now than it was in the early years of having pg_upgrade. I think a prerequisite for a storage format break would be a foolproof upgrade recipe based on logical replication techniques. The step having downtime would need to be no slower than pg_upgrade. Even with that, the double storage requirement isn't negligible. Hence, it wouldn't be a given that we'd regard the storage format break as sufficiently-valuable.