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 1skaOa-001JTE-1j for pgsql-general@arkaria.postgresql.org; Sun, 01 Sep 2024 02:32:53 +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 1skaOY-007LaI-IU for pgsql-general@arkaria.postgresql.org; Sun, 01 Sep 2024 02:32:50 +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 1skaOY-007LaA-4a for pgsql-general@lists.postgresql.org; Sun, 01 Sep 2024 02:32:50 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1skaOV-0004Fe-K4 for pgsql-general@postgresql.org; Sun, 01 Sep 2024 02:32:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To:Content-ID:Content-Description; bh=fLdM1FOTU2HPNv80WuZIMFGN/pwM5NlVOkboxIKDe7A=; b=Sf7X+EY4fSIqG/LWzKpHxzh+b9 SnK6SHi5uBVQh975v8c90UA4sfXB/7emjhBwMLpAM/8+F2VhDGaeQpNDb+zhLCSLJbTI0ZxRGA/lv Oy64WeU3A4oYqQJ51LRMgycW9C/emouaTgSgG66DM56qmyszDLBT13/lBV+T9BHvVWRH6VqXvPRVO hIBxoWh+JhRykpr4MMZORrV/4p+Saeu+gnBdagMRvaTs9CeWVXYVFitqDs4T2XsVU/glvPqAvBEXe j7cexn6ELXe0iGKOCGaj/ZvkVgfOJgcoIn+JOOmSIG2l9LZj44TziMmPRNQ4zBtKK0kufn1DiQfGr HbXLdPzQ==; Received: from meldrar.postgresql.org ([87.238.57.231] helo=webmail.postgresql.org) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1skaOR-000FLX-OI; Sun, 01 Sep 2024 02:32:46 +0000 MIME-Version: 1.0 Date: Sun, 01 Sep 2024 12:32:43 +1000 From: Justin Clift To: "Peter J. Holzer" Cc: pgsql-general@postgresql.org Subject: Re: Upgrade Ubuntu 22 -> 24 may break PostgreSQL In-Reply-To: <20240831165445.7kqb4ezzghaysbc7@hjp.at> References: <20240831165445.7kqb4ezzghaysbc7@hjp.at> User-Agent: Roundcube Webmail/1.4.15 Message-ID: X-Sender: justin@postgresql.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-09-01 02:54, Peter J. Holzer wrote: > 'Tis the season again. > > Ubuntu 24.04.1 has just been released, so many Ubuntu LTS users will > now > be prompted to upgrade from 22.04 to 24.04. > > A word of warning to those who use Postgresql from the Ubuntu repo (not > PGDG): > > As usual, a newer Ubuntu version comes with a newer Postgres version > (16 > instead of 14). Also as usual, I got a message during the upgrade that > Postgres 14 is obsolete,. but the binaries have been left installed and > I should upgrade to Postgres 16 manually ASAP. It'd *technically* be possible to automatically run an upgrade of the PostgreSQL repository (via scripting?) at launch time, though just blindly doing it for everyone would be a *major* change of behaviour. Some people would likely love it, while others would be horrified (etc). That being said, if we announce it ahead of time as a feature of a major release (ie PG 18 or something), and if we have a clear way to not automatically upgrade (a variable in postgresql.conf?), then we might be able to solve this problem ~permanently. We'd also need to figure out how to handle (say) rebuilding of indexes that need updating between major versions and stuff like that. Thoughts? Regards and best wishes, Justin Clift