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 1skn8t-002ub6-Re for pgsql-general@arkaria.postgresql.org; Sun, 01 Sep 2024 16:09:32 +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 1skn7s-00GW1T-Vk for pgsql-general@arkaria.postgresql.org; Sun, 01 Sep 2024 16:08:29 +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 1skn7r-00GW0Z-Dp for pgsql-general@lists.postgresql.org; Sun, 01 Sep 2024 16:08:28 +0000 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1skn7o-0009Qo-IU; Sun, 01 Sep 2024 16:08:26 +0000 Received: from phl-compute-05.internal (phl-compute-05.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 066E9114014E; Sun, 1 Sep 2024 12:08:23 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Sun, 01 Sep 2024 12:08:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1725206902; x=1725293302; bh=SF7WY5AetwFajh/Of5VQo5Le9ZlOfYTcTI71RCTETEA=; b= CrJE/5xI6qcit7XzKUSx9S9bSJDzkRHPmUkgQpvThOVwnnWjYLub1kEoJE3+36IU 7UlgenpX5jHWRyVYEmH4xdIBCOVxuneGp61MW5rgu/Z2n1w3CexNie1y7gpaiIXm BIi6EoG1veeQZm2r9Vm5+XE2vsJnVNVkP8Ef/Y27PHaVsfeq/xyhG0Rf6WAuQT5t N6Lm5mAyqxQ3yYzA2SZ7K0NIr4J8TLQ2vK0WUTJbnwkTEfe1IqMwdJu/4kjD6LRw K+70EoazDZrq6PwtEAQA4jWZC8BCRiLZbK1Y4pYYV3V7adql/iFmlcBlwKAIkXIj FeET+YfQ+382KF9xPeUBWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1725206902; x= 1725293302; bh=SF7WY5AetwFajh/Of5VQo5Le9ZlOfYTcTI71RCTETEA=; b=N NsL33klKDTOKsujePxGDWkM/P8wibCHc3vRipVGPNSf2HDg6Kd7AAmHTBM93lWmN cEq49craG9c3Um5Ww7I/T4WDuwo23DUhTFx/mVJkMV1xLFQCwPc+juqh9EKt3SJ5 E0CDECNryzNCTRGs4AdP2f5R0aUDVAfwWVTcwROcR/n4FFgjImrrvKTx3clYlLwl zuj3tU5W/V1Gph2TmOOcBkOl7z1iyRTjrYg2LB7wzkOArNl2pM2gUxQ9gf+g6QBo +iB1C546H8nj+aJP/qrKH72P8qPZ/cNZZTvMd/210H1Mi6Vf1IaDB64RUU9+82p+ Cf+vMQjyM97xxlB3XQjag== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudegjedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhephfeviefhveelffeftdeh udekveefhfeftdegieefveetfffgfeehtdfftedutedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepjhhushhtihhnsehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthho pehhjhhpqdhpghhsqhhlsehhjhhprdgrthdprhgtphhtthhopehpghhsqhhlqdhgvghnvg hrrghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 1 Sep 2024 12:08:22 -0400 (EDT) Message-ID: <1aad0d9a-468e-4667-873d-f3db2fce43a5@aklaver.com> Date: Sun, 1 Sep 2024 09:08:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Upgrade Ubuntu 22 -> 24 may break PostgreSQL To: Justin Clift , "Peter J. Holzer" Cc: pgsql-general@postgresql.org References: <20240831165445.7kqb4ezzghaysbc7@hjp.at> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 8/31/24 19:32, Justin Clift wrote: > On 2024-09-01 02:54, Peter J. Holzer wrote: >> 'Tis the season again. >> 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. The OP was using the Ubuntu repo and for a given major version of Ubuntu that is pinned to a given major version of Postgres. I am not seeing changing that would go over well. Now if a user is using the PGDG repo's that is a different story, then you point at the repo's for the new Ubuntu version do an update/upgrade and you are back on track. > Thoughts? This is something the end user needs to work out ahead of time as there is an overhead in the process they need to take into consideration. Cranking up a new version of Ubuntu/Debian and have it take off doing things behind the scenes to the Postgres instance(s) would disturb me. > > Regards and best wishes, > > Justin Clift > > -- Adrian Klaver adrian.klaver@aklaver.com