From listy@localities.work Fri May 22 05:40:06 2026 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.96) (envelope-from ) id 1vx2cJ-00C12m-06 for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 12:43:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx2cH-000abd-1c for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 12:43:17 +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.96) (envelope-from ) id 1vx2cH-000abV-0X for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 12:43:17 +0000 Received: from [89.231.102.37] (helo=mail.localities.work) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vx2cF-0000000010q-1LTL for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 12:43:17 +0000 Received: from localhost (localhost [127.0.0.1]) by swir.mine.priv (Postfix) with ESMTP id 14369C01408B for ; Mon, 02 Mar 2026 13:43:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=localities.work; h=subject:subject:from:from:content-language:user-agent :mime-version:date:date:message-id:content-type:content-type :received:received; s=dkim20251117; t=1772455391; x=1773319392; bh=U/uQ/uZN+daXrlJOB9uc4FV7n6sGCkX3W6NveiuIIxo=; b=FGzvsOX4x33s gC497ocMVGreOT5B/7pz9yeili9Jjy2IqnSEPheh4MG4PyR0Kuoi7wu0w7sHJtVI Q0akF9LUoRVIJByDrRrAN02D1xR9IApdqGhX+CIq9vP7jG75Rv0yHJSuPQGdi5V2 YMNW27vbNTbp8+gqdgfKtMbuNYr+VKw= X-Virus-Scanned: amavis at mine.priv Received: from swir.mine.priv ([127.0.0.1]) by localhost (swir.mine.priv [127.0.0.1]) (amavis, port 10022) with LMTP id g7KqQJBfPAvT for ; Mon, 2 Mar 2026 13:43:11 +0100 (CET) Received: from [10.3.0.10] (unknown [10.3.0.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by swir.mine.priv (Postfix) with ESMTPSA id A5EC7C014085 for ; Mon, 02 Mar 2026 13:43:11 +0100 (CET) Content-Type: multipart/alternative; boundary="------------udC5iNCUtiGA0jCKuyKGosHh" Message-ID: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> Date: Mon, 2 Mar 2026 13:43:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-MW, pl, pl-PL To: Pgsql-admin From: listy Subject: upgrade from 13 to 16 X-Host-Lookup-Failed: Reverse DNS lookup failed for 89.231.102.37 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------udC5iNCUtiGA0jCKuyKGosHh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi guys. Is upgrade from ver. 13 to 16 possible? -> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/ You must identify the directory where the old cluster binaries reside. Please use the -b command-line option or the PGBINOLD environment variable. Failure, exiting Or is a restoration from a backup the only way? many thanks, L. --------------udC5iNCUtiGA0jCKuyKGosHh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi guys.

Is upgrade from ver. 13 to 16 possible?

-> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/

You must identify the directory where the old cluster binaries reside.
Please use the -b command-line option or the PGBINOLD environment variable.
Failure, exiting

Or is a restoration from a backup the only way?

many thanks, L.
--------------udC5iNCUtiGA0jCKuyKGosHh-- From ik@dataegret.com Fri May 22 05:40:06 2026 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.96) (envelope-from ) id 1vx2iT-00C6to-3A for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 12:49:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx2iS-000hxV-1B for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 12:49:40 +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.96) (envelope-from ) id 1vx2iS-000hxN-00 for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 12:49:40 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vx2iQ-0000000014V-1CWg for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 12:49:40 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-38a01c80c34so41771451fa.0 for ; Mon, 02 Mar 2026 04:49:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772455777; cv=none; d=google.com; s=arc-20240605; b=DB7+n8XTw8HFgAuU5qk2/d/4up30qc/ltQgVEcBzhgQLpuTNVYYMoHR4rCHNfkf/Eu GBLQOu3q7yznMioXi0ygByOoE/VR8U1mNhwe1qOUgSMGYac+kWTgUYkq8BtKYMH/GYtS Qyil65GOuPra78j2aagy/wypt5OLpDOSVzLOLsMJE61UGgqofIlu0ZJHi3uc/u9KEMPU KJMwAzz/wjhjcIzW7N7vN1fnDtNXy3mCK6z6rsoGdDNFq+pVSokB0/DK0TtAqxHRt+Ey rgZlFThCzmRCQ/iX2x6sWAlRkfOg6hFkrT4L2Ax28T/Bm7PPGHfTMefLPxP4v31jhX7B YaUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:dkim-signature; bh=9wBLo9iucCq7N/cvfxE+puAKCTrTusjVzvNJieuPvVQ=; fh=RjtgOQ0idWtzEHqk6ucHJ7HEjnKxaOkn4lxh3/uub6I=; b=NCHMMx6IZavkDx0dOdLNcgwlviP5tcMIbHMWDTiJ5Eq+dokzfD2i1fKX8di9uknfBY kJ2smWTCRf9FPW/mixvDQuTGGNlfIe/j9A7uLANZLDu2dRwjHeVaJGB+daQgzk9KYWX3 h0JboosEVCwfAgzU6dEru5JkExPah6vaLp0eSfTiVfvbqqbB+dT17q/aehMxD3OmyFlj oLzhvY3azryuHHNYJ74OmLH3v9tEd9RoE0JKFmS6AWvu5rVvf2i8wQx69bfhMDc+RqAK aKimcsetwr0w4T1mDQ+REmOlFEfc3peSAi8//4e3T0T7P+BGuIoDeBMeAA64ejGN+ngO 7agA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataegret.com; s=google; t=1772455777; x=1773060577; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9wBLo9iucCq7N/cvfxE+puAKCTrTusjVzvNJieuPvVQ=; b=hgUmuU3NmcV+itUBDLLyq1puhJc2dikD5a7XR0UsUF8fbjZTiiuGQS+Zqt0TCvawa/ P3613VK31J1Td7Ea+kBn/Msclit/gzpyPZ5AnyxZvbVqRUYzMzKdrPavvd07fNlRU+2P W0sDVEHPRS/xP5rroLDAA6kWQybSIElGzCigw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772455777; x=1773060577; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9wBLo9iucCq7N/cvfxE+puAKCTrTusjVzvNJieuPvVQ=; b=dGBO/rR+lUiSWFvxUgSM8bMPY0H9VV06JEJx/9E06BHkZ8frjt99TvpF6TLaeppsqF CbSDAh9UtJsY+8uIieBU9alBeb+ClOhHCQF+9f7x0RZLqvLGjvrr2bHkTlus93tDxHvM vDbjG31zs5A/SDE2dzu/kYWYxGcRqedsCZtPIuep5QZ8JoLRMjPxpnNFt9f3CxK/S96r +CzfcH19PVZqR6pp+KiabEPcCvKWCxlVOqFIRvSsOvbpiSXuozJ0WjjazeZW9lmFbbxK ignMZ9hXQA46N2OudS3Tvdp6ApYTAo/M/gvpqV4+BczCHkLV7oKzuMvLRTWUAQObEiOP zFkA== X-Gm-Message-State: AOJu0YzZ9wojrLO4DbkPm8RRhgzzv8B3T4mcAU10DzUOddvF9km0HIkL MNkmRPUE7o77kyaN97m70XKDED1s/mlURqXa+xCi6BHJF6xSTd+4hlx1EiYcdTcYS5o3ph1tWO5 5vC3j11NlpvCNP3QF3tqvMxma7SXuWJVyKDOtNngQnIpBTR+hxQE2TSf4 X-Gm-Gg: ATEYQzxqRy7ee1IBin8RIhce3+EqVa8aLZ581lE0dkbKB6K9X3Rc1jSlgi2SteYdOxE YGt+1hdJLLEoFBHSXpgbScGavEkRyv0vFvFxOy9T8n/cDgpFp7DdLYMkXkWQNCBcvAbzl02BGWw yawlumBwdUOozD4MF2wVQ1o7CJVGk/ASumMARoNj33yhfOwHcC8cYjVnIZK225FQ6kGL4g/shho Sq7VqsGtDq2z8pewzfxaEK26tsggZlLUvfayyhuXC5O5R/tfv7NVukIR3MJ+XKC8ECDCr+4IWH4 EGlVZ4l4lqBwVkh5TBLkWhac++/5ZBAoPd+ZhzmjTHcXI1u1ZDB7+CT4p2ZKiqnifiI0h5vtagU 0+BUa+khwfFTladHr989Q4fxQfKUKnXaQvw== X-Received: by 2002:a2e:7c1a:0:b0:389:f15d:f8d5 with SMTP id 38308e7fff4ca-389ff3594a9mr56895451fa.27.1772455777370; Mon, 02 Mar 2026 04:49:37 -0800 (PST) MIME-Version: 1.0 References: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> In-Reply-To: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> Reply-To: ik@dataegret.com From: Ilya Kosmodemiansky Date: Mon, 2 Mar 2026 13:49:00 +0100 X-Gm-Features: AaiRm53R6XVYVI0aiGmhUMYwZuDZ-fUnc2fdkUf7GwPFeVMYUTSkEy4lzUVBV-Q Message-ID: Subject: Re: upgrade from 13 to 16 To: listy Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000fd9585064c0a0440" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000fd9585064c0a0440 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi listy, On Mon, Mar 2, 2026 at 1:43=E2=80=AFPM listy wrote: > > Is upgrade from ver. 13 to 16 possible? > it is. You need to use the latest pg_upgrade binary (from version 16 in this case) > > -> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/ > > You must identify the directory where the old cluster binaries reside. > It tells you exactly what to do. pg_upgrade requires both the old and new clusters, data dirs and binaries. So you need to specify aloof -b, -B, -d and -D > Please use the -b command-line option or the PGBINOLD environment variabl= e. > Failure, exiting > > Or is a restoration from a backup the only way? > > many thanks, L. > --=20 Ilya Kosmodemiansky CEO, Founder Data Egret GmbH Your remote PostgreSQL DBA team T.: +49 6821 919 3297 ik@dataegret.com --000000000000fd9585064c0a0440 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi listy,

On Mon, Ma= r 2, 2026 at 1:43=E2=80=AFPM listy <listy@localities.work> wrote:
=20 =20 =20

Is upgrade from ver. 13 to 16 possible?
=
=C2=A0it is. You need to use the latest pg_upgrade binary (from versio= n 16 in this case)=C2=A0
=C2=A0

-> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/
=C2=A0
You must identify the directory where the old cluster binaries reside.

It tells you= exactly what to do. pg_upgrade requires both the old and new clusters, dat= a dirs and binaries.=C2=A0=C2=A0So you need to specify aloof=C2=A0-b, -B, -= d and -D
=C2=A0
Please use the -b command-line option or the PGBINOLD environment variable.
Failure, exiting

Or is a restoration from a backup the only way?

many thanks, L.


--
Ilya Kosmodemiansky
CEO, Founder

Dat= a Egret GmbH
Your remote PostgreSQL DBA team
T.: +49 6821 919 3297ik@dataegret.com=


--000000000000fd9585064c0a0440-- From listy@localities.work Fri May 22 05:40:06 2026 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.96) (envelope-from ) id 1vx3dr-00CzS8-0o for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 13:48:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx3cq-0010VZ-2K for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 13:47:57 +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.96) (envelope-from ) id 1vx3cq-0010VQ-1J for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 13:47:56 +0000 Received: from [89.231.102.37] (helo=mail.localities.work) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vx3co-000000001ce-3GkY for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 13:47:55 +0000 Received: from localhost (localhost [127.0.0.1]) by swir.mine.priv (Postfix) with ESMTP id A6575C01408B for ; Mon, 02 Mar 2026 14:47:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=localities.work; h=in-reply-to:from:from:content-language:references:subject :subject:user-agent:mime-version:date:date:message-id :content-type:content-type:received:received; s=dkim20251117; t= 1772459269; x=1773323270; bh=lDFWFj/LyP1Z7ZNYgtrSDJOindn7wsdRSN6 o7Oheai4=; b=b+X1KmUfQ2KQnpOes5wr7doVdh6bDIufIG2rAmy+/Gv9vKgJihJ 6h1VbKNxocuT9tx8N01dWBfKPs4IbFNu/Icd14YnVstEdSyx8AE20/CYuqrh11yq 69l5NOQjT6wApSoDXdcAv0KMJ668stAyXMISjFOJgOnd36/LXljjQgUY= X-Virus-Scanned: amavis at mine.priv Received: from swir.mine.priv ([127.0.0.1]) by localhost (swir.mine.priv [127.0.0.1]) (amavis, port 10022) with LMTP id 2sUNDh3ClHBE for ; Mon, 2 Mar 2026 14:47:49 +0100 (CET) Received: from [10.3.0.10] (unknown [10.3.0.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by swir.mine.priv (Postfix) with ESMTPSA id DCD51C014085 for ; Mon, 02 Mar 2026 14:47:49 +0100 (CET) Content-Type: multipart/alternative; boundary="------------PjW36wR0Ls3QIq3u0bzFCOin" Message-ID: <0bdbf1e5-e8ab-408d-8e0e-f4e3df6a3c1d@localities.work> Date: Mon, 2 Mar 2026 14:47:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: upgrade from 13 to 16 To: Pgsql-admin References: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> Content-Language: en-MW, pl, pl-PL From: listy In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 89.231.102.37 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------PjW36wR0Ls3QIq3u0bzFCOin Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit So, for now & the future "issues"... Since on LInux - unless tampered with manually - binaries get replaced upon upgrades of a package: Is it worthwhile tampering with binaries as opposed to starting anew and with a backup? (which I eventually did, I get it might be a personal preference) many thanks, L. --------------PjW36wR0Ls3QIq3u0bzFCOin Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit So, for now & the future "issues"...
Since on LInux - unless tampered with manually - binaries get replaced upon upgrades of a package:
Is it worthwhile tampering with binaries as opposed to starting anew and with a backup? (which I eventually did, I get it might be a personal preference)

many thanks, L.
--------------PjW36wR0Ls3QIq3u0bzFCOin-- From ronljohnsonjr@gmail.com Fri May 22 05:40:06 2026 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.96) (envelope-from ) id 1vx3rj-00DCgK-1W for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 14:03:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx3rh-0014Az-1y for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 14:03:18 +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.96) (envelope-from ) id 1vx3rh-0014Aq-0t for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 14:03:17 +0000 Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vx3rf-000000001bN-2T0u for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 14:03:17 +0000 Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-673ee2a98b1so3298884eaf.0 for ; Mon, 02 Mar 2026 06:03:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772460194; cv=none; d=google.com; s=arc-20240605; b=GBRrxdi+DGY/iD3OUS+GoEtUkW5X47mdA4vYcqQGYk0g8pnZBMW7kytk2Q5TTBNCm9 kIlhCkrisNWmD4dghviHFgiMpO4YjTuud5Bwp3U+fdp9TXzBJV3I86Ak8PvMT/E1FnUl qF8PACz7SAqDQlmy4rn4tZ8GVmBhR2WImr471lncWpC9TSspyP7+fBbhPuFBYT3iKzF5 qv53dZ+IlsiBx47IlS7OCVRQTTS7Gzii6iaE8ROj3ZE6yKu7u+7eRv05Fjvhx2MCUViS uTPf6E7aoaD2dbgpnZnn086lP8sIA/PdrvoABHQE0nqujiwLSrShTKFrZMf8fzxccfxm suHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=UoWIdS7bVhS5G20rkcRe51auPFe6sEn7m3hdavuTtMo=; fh=druxZHa2fk4e6MLibibygn9AWWgeaAPo4m8Gpo2MBXU=; b=B6s5Ur7S3HJ+V72U67L/pwxsQ58IznQNRWdPsOPLQIOfiSofVEyduzl2IfgZ+sCphI DHByymdLGkfyxzPWWP7LaryITJoMGcNdeqs7q5K0GK5I0Cx3IvSnJRW2R5IGTFi4rLHL P15VCe3rKWeM/su9QI8j1sG1wCDSgejHw98GwwR0knIKqKDvB8iVXjqC5eE5hM59YgM4 07f+e1vYos14DvF7jPN0EwHExLpiztdTSZxkI+9b2bAXwBNwTSa55B5LQLptSnByR6UL VMEcOkZNLtUsbrmR8XEVLjxT5KPvw8yZZiD8/1N10dknIwYA8TclXDdLwmgtMo8NCvdw zHZw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772460194; x=1773064994; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=UoWIdS7bVhS5G20rkcRe51auPFe6sEn7m3hdavuTtMo=; b=RBrRXAjkhY0dFT6Ec7cK9OCdUeIBzXle8WSNcxXJRZA84DrvyUDjn2eM0M0ZC7xyw4 b3x31FdzG0Eg9DeOCihgUvXW/S2q4Ngjq+0Hyy4dpVKGpXZxrhhLZldvDGjsEpmJH0TQ bpM/HEPnt9mB7b61fuAhFMDUNBOavJ7e5+/6XEOq8RqklCHOdYMi6yQt3Ifl8b3apOVW QiXNPY9VC/amyDofGelyVAy4FCPG3pcAykiMOlExBtjghPASXrkCs6U/kezXPScqbQIF 3HT2hodFdhyYf1AKNEZ5KN0XJQ88U9HBSly9pRjVLWE33ZefbzKfguQ6suDG5fzFjnxv Pt7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772460194; x=1773064994; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UoWIdS7bVhS5G20rkcRe51auPFe6sEn7m3hdavuTtMo=; b=H+7h/w9/qcFELQRDW/cpit3KsJCfjsL1kpNoO65qg5VxG5Rfa3I6uQJohBFvCGjq9a eNS2B8mL4J9eiv6ba8j8Pjx8vhW5lKCN947qBpzA0CYlVCa8tmNMdP7QQEzW8BSroWOc NKmus8rxOghtM0s/7wkU681NV8r0K2nHICZZwObLxSOloSAULb/oHyier/7+8NJ7/P44 SJFzmvyQFKvMaw3ypg0bSvVh9OJk9nFnWaDgqIjdth4gsOd1TYv8FJwqSe14Hpxgw3J/ pQ0kvPbhjgi3g5jYzF5l7OmHZOhs4jbYxBTbuA11Vi3blJ6qDOO4oa7ZZwGq/dtKJ2e5 fJEQ== X-Gm-Message-State: AOJu0YwhvcZ3baw0G/QdRu214rHnAF1IK3ImLqddxPYHpRJoESkgyxL2 l4LqfKcJZw21VtTMOadXihNq9mjOsJoK2BEIGmTr/EovJ4YbmmcMnKwAlkZPiVNxwcSW/55rcqI dzYbit9+8etae3Gi+pgWac5l/KoWJ6+Oet3sG X-Gm-Gg: ATEYQzx3nlIxDS1WaymigBqRmPv+3T8aQhv8DGnY9PGzgEqncMO3sAP3lTAIjVekTkw ROE6DqOiNJw3lE3UU6sXRi92o5Xq4XrHIxE0z0/ziwWiUum+bNDT7vqniYVI07MhRRlmI2cVhY3 9Q+Jrd7Km6Rmz/JVxGUnb6MU2wGBpVHfJjZrXFFUJ5LX2e5nI7R97CD4bqSK0S5zvcA0WAc9ODP hZywe/3D5+CONAuv4wBxClGkLj0vVW2OwjTZIWxeLy+Xgx1U1cbNCu+5ZReCAYAdyj5vF2Nq8tw uzSdCoXm X-Received: by 2002:a05:6820:1c94:b0:674:911:98fa with SMTP id 006d021491bc7-679fafab9c1mr6951674eaf.64.1772460193661; Mon, 02 Mar 2026 06:03:13 -0800 (PST) MIME-Version: 1.0 References: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> <0bdbf1e5-e8ab-408d-8e0e-f4e3df6a3c1d@localities.work> In-Reply-To: <0bdbf1e5-e8ab-408d-8e0e-f4e3df6a3c1d@localities.work> From: Ron Johnson Date: Mon, 2 Mar 2026 09:03:02 -0500 X-Gm-Features: AaiRm50hggcP3-Ztl7qVMPQw1RYiBaAFt8wjRIFsufCMAed7HF_4SGZswyU-4wE Message-ID: Subject: Re: upgrade from 13 to 16 To: Pgsql-admin Content-Type: multipart/alternative; boundary="00000000000038d317064c0b0cc2" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000038d317064c0b0cc2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 2, 2026 at 8:48=E2=80=AFAM listy wrote: > So, for now & the future "issues"... > Since on LInux - unless tampered with manually - binaries get replaced > upon upgrades of a package: > Please clarify. Because the application directories created by RPMs and debs in the PGDG repository (which I recommend that you use instead of the ones from your distro) are multi-version: $ ls -1 /usr | grep pgsql pgsql-13 pgsql-14 pgsql-15 pgsql-16 pgsql-17 pgsql-9.6 --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --00000000000038d317064c0b0cc2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Mar 2, 2026 at 8:48=E2=80=AFAM li= sty <listy@localities.work&= gt; wrote:
=20 =20 =20
So, for now & the future "issues"...
Since on LInux - unless tampered with manually - binaries get replaced upon upgrades of a package:

Please clarify.=C2=A0 Because the application directories = created by RPMs and debs in the PGDG repository (which I recommend that you= use instead of the ones from your distro) are multi-version:
$ ls -1 /usr | grep pgsql
pgsql-13
pgsql-14
pgsql-15pgsql-16
pgsql-17
pgsql-9.6

--
Death to <Redacted>, and butter sauce.Don't boil me, I'm still alive.
<Redacted> lobs= ter!
--00000000000038d317064c0b0cc2-- From listy@localities.work Fri May 22 05:40:07 2026 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.96) (envelope-from ) id 1vx3z1-00DJPP-1h for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 14:10:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx3xz-0017cy-2v for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 14:09:48 +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.96) (envelope-from ) id 1vx3xz-0017cn-1o for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 14:09:48 +0000 Received: from [89.231.102.37] (helo=mail.localities.work) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vx3xx-000000001e3-3R3u for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 14:09:47 +0000 Received: from localhost (localhost [127.0.0.1]) by swir.mine.priv (Postfix) with ESMTP id 20188C01408B; Mon, 02 Mar 2026 15:09:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=localities.work; h=in-reply-to:from:from:content-language:references:subject :subject:user-agent:mime-version:date:date:message-id :content-type:content-type:received:received; s=dkim20251117; t= 1772460584; x=1773324585; bh=CDpp1vjasjBVrY67u4s1XWW0ov85Mbm0arm 8MZ6qugo=; b=Z6cOj0/wyvBaX06ViLRNtiychC65+DuYuHJFVPjPjexOx1ip7rH +oYWYMfVcpwuDIOerhXLZ5uohLPYGPk6f+JhvTOuBPp7XwolSn6WUIrcvNj+v2df 8aTwees4C3tEYlNrJuv3mdJvKCT6uVVTuASXgOBPW5Rm0IT+DXjmxaQg= X-Virus-Scanned: amavis at mine.priv Received: from swir.mine.priv ([127.0.0.1]) by localhost (swir.mine.priv [127.0.0.1]) (amavis, port 10022) with LMTP id MBmSbkwpD38R; Mon, 2 Mar 2026 15:09:44 +0100 (CET) Received: from [10.3.0.10] (unknown [10.3.0.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by swir.mine.priv (Postfix) with ESMTPSA id 9D6FDC014085; Mon, 02 Mar 2026 15:09:44 +0100 (CET) Content-Type: multipart/alternative; boundary="------------ymtRGEiwrY07bYij8fuM0kEl" Message-ID: <58477698-42df-4e66-aa6b-f86c794919d5@localities.work> Date: Mon, 2 Mar 2026 15:09:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: upgrade from 13 to 16 To: Ron Johnson , Pgsql-admin References: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> <0bdbf1e5-e8ab-408d-8e0e-f4e3df6a3c1d@localities.work> Content-Language: en-MW, pl, pl-PL From: listy In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 89.231.102.37 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------ymtRGEiwrY07bYij8fuM0kEl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cannot say about Debian but RHEL family (perhaps exceptions exist) do not, certainly not on Centos, Ubuntu which I use, yes. But also rhel/centos do not do major PGsql rel. upgrade within the same/one OS release, I do not think so. What happened to me - what I did rather - was upgrade from c9 to c10. (not officially supported.) --------------ymtRGEiwrY07bYij8fuM0kEl Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Cannot say about Debian but RHEL family (perhaps exceptions exist) do not, certainly not on Centos, Ubuntu which I use, yes.
But also rhel/centos do not do major PGsql rel. upgrade within the same/one OS release, I do not think so.
What happened to me - what I did rather - was upgrade from c9 to c10. (not officially supported.)
--------------ymtRGEiwrY07bYij8fuM0kEl-- From ronljohnsonjr@gmail.com Fri May 22 05:40:07 2026 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.96) (envelope-from ) id 1vx4JH-00DcIR-2L for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 14:31:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx4JF-001EY8-2H for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 14:31:46 +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.96) (envelope-from ) id 1vx4JF-001EY0-0l for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 14:31:45 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vx4JD-000000001u4-3ort for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 14:31:44 +0000 Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-46391e91e16so3272318b6e.3 for ; Mon, 02 Mar 2026 06:31:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772461903; cv=none; d=google.com; s=arc-20240605; b=Rah7GsH9O+nGdqRe/6sJY/G81sMQ41YGMXT7Gj8zhugOy9mzucSBvphb43DWWaaaea BOaI/9ifv2WXW8SXNuBYmh6D/FgW7vLFHLbORcRMZZgKzg+f5mFBAgs/DNyxGad8QMCC estQkOipHXnmWfoJpi6iwJ1psINMaN93odLG7TqmcKyYQc97PKmimYhNpdp++OE3Lxmb WfHyQ84bcMb9gCpWItkegwj/SJse9M9fH++F4jdAFEIx6a/M8bM5ABkiCszs5cZJcOre CCQWLfBZsW4zCJt1ipvSFC8TleclS/9Okvr6eyeJNwJEYR9C63gmARTrE9Ix4BYmDs1Y grqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5PrZNmpIt1IYsw/yH4nfo5YCnfYtu0mYqfT0qk6lfJY=; fh=druxZHa2fk4e6MLibibygn9AWWgeaAPo4m8Gpo2MBXU=; b=NHb8EWcaDCYor96MQ76bww3QdhJ8sex9SHb5V1PRU3yfolgMdFx3NMiHBP6967gCW/ LQi3yGBSOj6POpsrhZpB0U3fCFtW3dH4p/iT9EV/eY5dNRkbXvm6RYscIi5RwYrhdVBQ 0uasynuxaONw5kDJcOm7Rfc/C8hpVIDL9G99I7VTUVu0IT6S/sDn8WAtqy35GoUUyK0R Ob946zRX9jCY7MWUig/ferFLYGQvn+oCKNovG4y3QoiQoM3KNy9LqinBE4kUCqTnUpK+ NzWvE9Ck+FkN4SlQXmxDDfw3LRVk7iHQZThF1FXEsfsqxUO7jFgdYaVNUNT+gBN+11q6 Q5kw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772461903; x=1773066703; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=5PrZNmpIt1IYsw/yH4nfo5YCnfYtu0mYqfT0qk6lfJY=; b=VzrFF8lkbZm0z/BpTBQYYh9HlSi70jRl47EPhrC4U9HROYscGhA2Ubk2W5kpHDyF+B CMzNkJoxCF7ysVUgy1wFCWS/Xea67l1fe9FgNI3MaZDxkNKKI5oJFAzYeLc7nOtC3Doa GP/pEKAOL8W4u20Kszvhxd6Fp5kf6YoVAa+ljOvT7H46mWd0OgEjPPVqYwedD3daERRX rT0DJhD0GHScugg9FaA9MCaaMaU/qoF+/fGqCNswLXWXRNNrAbae11b64KdI2XKjvAqM QdCpnd0itR/ng5Dh866R83OLf/LFplgHyLCJXXL4h5QgPZLbriiN5Bhxfsg765kU3SFN Ri4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772461903; x=1773066703; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5PrZNmpIt1IYsw/yH4nfo5YCnfYtu0mYqfT0qk6lfJY=; b=kt3HU8JjOK1uOAhiCfxz63BNTIzwzS2gnpW+5OY6ms5hBAIi9Eoh0ZdtGQlfGXBrfs HKIs53lqY7Jnm2qrzrkMe9yTYFVuCvtFzYrb0yarXetZJMWf8fO77QMT844cJkhhTw5T ZhORLUB8OuDKI6UoUR3c3N8ygE3aCwcDhXC/4phsAWVXtfLKuI44g1ZyXn2Ai/xAltL6 3A1IbBhfzA8xKWErjQdZrflzy7GiNo+w/b8jwPrKHoHamdocb8o6jKmnFlllCdufsU8a 9TjMKmCgMSeY2PabtThJWEC1zLYHECflcDBZ9q3uUOFtULGeafaNRENMEQ3foyqdPt6t qFBg== X-Gm-Message-State: AOJu0YyRA9HlVfS9xcB9HmlVCWsZAwXDY46ZgsNI6+ajWaZRFQbwCi14 CJ7a2X15VP0qSV1sfq6GTS6NdLoywCF4u9RHq9Aiz/oseB4c2e0Dghixs0sYYDkHRnXEz2Y8i28 nc237iikHvBhtVn+hzPim6FOtP7d5aiUxvw== X-Gm-Gg: ATEYQzxetIUT1K+UfWhS+2BT0RiawEU65/RM2oQG9HiilwEnYcnRfH6i3uK0qWS/2ud ByzasoYnvIwh6mZtPhv/2otKgeRT17vSyjVbozGOi5f9pHalNHsC2/BRGBzai6/ZbFKPYz6qal2 5uVBW8pDGE/b3R0eTHQ4wulGepn6jtLY7Tpyrf/8mzkCUvD4BFSFATNV3RityoevpCO+8SIgI0d dChKzUwvcNfWBpnj3UqY2E2hbgZ05zfNEIrkrYQoTatZ0OGd8xwLhQzavtYZpuUOrgm4vJ2k8/k 7EEm2+a4 X-Received: by 2002:a05:6820:4a13:b0:678:fc0d:46c1 with SMTP id 006d021491bc7-679faf95593mr5613059eaf.76.1772461903120; Mon, 02 Mar 2026 06:31:43 -0800 (PST) MIME-Version: 1.0 References: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> <0bdbf1e5-e8ab-408d-8e0e-f4e3df6a3c1d@localities.work> <58477698-42df-4e66-aa6b-f86c794919d5@localities.work> In-Reply-To: <58477698-42df-4e66-aa6b-f86c794919d5@localities.work> From: Ron Johnson Date: Mon, 2 Mar 2026 09:31:32 -0500 X-Gm-Features: AaiRm51pydCxRrCKnuJluWLfNnP7EdVxA924z6f8o1XeSzJRlNrsb6h9338826o Message-ID: Subject: Re: upgrade from 13 to 16 To: Pgsql-admin Content-Type: multipart/alternative; boundary="0000000000001d10a6064c0b72d8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001d10a6064c0b72d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 2, 2026 at 9:09=E2=80=AFAM listy wrote: > Cannot say about Debian but RHEL family (perhaps exceptions exist) do not= , > certainly not on Centos, Ubuntu which I use, yes. > But also rhel/centos do not do major PGsql rel. upgrade within the > same/one OS release, I do not think so. > What happened to me - what I did rather - was upgrade from c9 to c10. (no= t > officially supported.) > This is why I strongly urge you to use the PGDG repositories, not the packages which RHEL builds. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --0000000000001d10a6064c0b72d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Mar 2, 2026 at 9:09=E2=80=AFAM li= sty <listy@localities.work&= gt; wrote:
=20 =20 =20
Cannot say about Debian but RHEL family (perhaps exceptions exist) do not, certainly not on Centos, Ubuntu which I use, yes.
But also rhel/centos do not do major PGsql rel. upgrade within the same/one OS release, I do not think so.
What happened to me - what I did rather - was upgrade from c9 to c10. (not officially supported.)

This is why I strongly= urge you to use the PGDG repositories, not the packages which RHEL builds.=

--
<= div dir=3D"ltr" class=3D"gmail_signature">
Death to <Red= acted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
--0000000000001d10a6064c0b72d8-- From laurenz.albe@cybertec.at Fri May 22 05:40:07 2026 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.96) (envelope-from ) id 1vx4N1-00DfjI-08 for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 14:35:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx4M0-001I0c-1a for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 14:34:36 +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.96) (envelope-from ) id 1vx4M0-001I0N-0P for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 14:34:36 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vx4Ly-000000001vW-3kYd for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 14:34:35 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4806cc07ce7so51269765e9.1 for ; Mon, 02 Mar 2026 06:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1772462072; x=1773066872; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=/hxrQxLEFw4eElrO5u0M+TwHbRL1jWIDjcbhOG6ZeUU=; b=EYl+N7aR8/bRYv1f2oV+u+0EtphFpHlRHEGJ88Axalje34JY5Ya/ZVerwcpLuE9Lbr JxrQmZcAGAMbbSNxWa7keaJuIO3qs5R5zU9iHwKgcqaVpmNZIjVLcNjjPW42kn2cwpEg u/S80ScMC7tY+hPRFePSFH6OOc+ekDla6EqnqGda4LiKBehTcAVslc908ybhhhTtAqKv GDX8oj2vO+HfpLSOafrQgL3iduWPuOee1hUW64sNdAqJ8gDH07uykICT/UUXpywQSyfD NLATKqq6l/a6+e4YajRyjfpJOwvhR7+IlZxvqyrOjamsSMiGCXZh6hWYSlCktIOjwJsN rCdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772462072; x=1773066872; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/hxrQxLEFw4eElrO5u0M+TwHbRL1jWIDjcbhOG6ZeUU=; b=k7esrGZhS6LACrqoe/PitWbUUMID6wRSSzi8hWjymf59WXIA6Q6LYguxf4wsRQWdNr DRkYMAMi+PAt+61pIFtG8PlioWARo1ikOeI9tCD3pJyNLm8f6/U3FV/BW18br8MXxsAk h2eOsCBtp27QKrlHNVrSc+Kye2lTnXvApVrcuG64DeAP4PxktoP42htBm1sVfv+IxvvM 1YQzMrFG/GrAUEX/mAv0N1N+BlG5DWiZi27f9vhXcG9qaDu5WgH3BX+afwp/7HF5kE1D HkRHsXd6AHd0gfxmu8plgGga5M2hHo+oW0TVDfrRjDVIPwZsuCGvskjflAC2XMyZKf33 R1Lw== X-Forwarded-Encrypted: i=1; AJvYcCWVt8DlORVFbsrCxt8qibiJEWfGtPuVbHlxht3IwHjUiyT+1PhFls39UAxAeApvT/2JElUbjNKWzPjfwg==@lists.postgresql.org X-Gm-Message-State: AOJu0YzQFTLgTrPLFSEiKvV9l2OfeEN11IGWD/ZuE2zmGGir5vPBPwT6 g649Hwg7Ttn+/5fa6mFPpZrA4vNpFQS+yiW5wNljtqIZ/7BM4ilFolH5YT+mWGqBmAI7eJb6EHe oqUt5xLk= X-Gm-Gg: ATEYQzzHPslriIbwvIP3BfUD9BWInd1P+P1x6IMXpFuVmq5iE9KlDUiYeCvVfCWcnow Ctj70+DX/8WBbgG2OZd/aFJxRoos3y+fDn0IoRi0J1j7jmOmenE/6vtaLoniPcu9kEZ5CUOk9Cy Ry3mhIS08Zi0VhMWZH5oSCBu+oasS2zdlM14euaf7S2T0ZQGqNNkPPKqFsUdr6jIGWzzACD+XcY Lj0ZJjcYdIRp4gbs7cQDVOcn1CJMCCLMDwW66PNMnCmNWE8lt1t1TZobOrxMVVkGTYTe5/Q6c8t 0zs06bJXGyWF1l9pZukTejeiqazX3Mq3pavwk/i9933GuoeKk+t5Y4VLrYe+QmMMDmP7EbfSX28 W1IotT+zGw9phTss4+kt+EG8hihbkJ8lxDCzOkmt3ak/q8W/DCGSb82rCMsuQ/JLvBo06Imok34 0gIyuFju+oOqNV55OaQO6aAE7AVvBity9OlV3AnT0lLqfeZgF11OE= X-Received: by 2002:a05:600c:c04b:10b0:483:79a6:e7e1 with SMTP id 5b1f17b1804b1-483c9ba7e28mr158112885e9.7.1772462071506; Mon, 02 Mar 2026 06:34:31 -0800 (PST) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:70:b332:d53:f4c8:5267:7bfa]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483c3b3471asm306239035e9.3.2026.03.02.06.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2026 06:34:31 -0800 (PST) Message-ID: Subject: Re: upgrade from 13 to 16 From: Laurenz Albe To: listy , Pgsql-admin Date: Mon, 02 Mar 2026 15:34:30 +0100 In-Reply-To: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> References: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2026-03-02 at 13:43 +0100, listy wrote: > Is upgrade from ver. 13 to 16 possible? Yes. > -> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/ > You must identify the directory where the old cluster binaries reside.Ple= ase use the -b command-line option or the PGBINOLD environment variable. > Failure, exiting > > Or is a restoration from a backup the only way? >=20 > If you cannot be bothered to read the documentation for pg_upgrade, then dump and restore may be the only way. Yours, Laurenz Albe From holger@jakobs.com Fri May 22 05:40:07 2026 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.96) (envelope-from ) id 1vx7pu-00Gdl8-1L for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 18:17:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx7ot-002C8K-1u for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 18:16:40 +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.96) (envelope-from ) id 1vx7ot-002C8B-0g for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 18:16:39 +0000 Received: from rs.plausibolo.de ([85.214.83.89] helo=plausibolo.de) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vx7or-000000003Ud-1ezy for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 18:16:39 +0000 Received: from localhost (localhost [127.0.0.1]) by rs.plausibolo.de (Postfix) with ESMTP id A9CA3380C0F; Mon, 2 Mar 2026 19:16:36 +0100 (CET) Received: from plausibolo.de ([127.0.0.1]) by localhost (h2367442.stratoserver.net [127.0.0.1]) (amavis, port 10024) with ESMTP id cBWKL5jWTDoo; Mon, 2 Mar 2026 19:16:36 +0100 (CET) Received: from [192.168.178.88] (xdsl-89-0-40-144.nc.de [89.0.40.144]) by rs.plausibolo.de (Postfix) with ESMTPSA id 3A7D8380229; Mon, 2 Mar 2026 19:16:36 +0100 (CET) Content-Type: multipart/alternative; boundary="------------Em59UZY6PXXAv5cP3SJAE6yB" Message-ID: <6e1df2c9-c9be-4d03-a349-ac4edadc85c3@jakobs.com> Date: Mon, 2 Mar 2026 19:16:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: upgrade from 13 to 16 To: pgsql-admin@lists.postgresql.org References: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> <0bdbf1e5-e8ab-408d-8e0e-f4e3df6a3c1d@localities.work> <58477698-42df-4e66-aa6b-f86c794919d5@localities.work> Content-Language: en-GB, de-DE From: Holger Jakobs Autocrypt: addr=holger@jakobs.com; keydata= xsDiBEG8IA8RBAC6WqUzEPTjest7MvFca5WlI47EgtKzOy1D1X9gSEmPj0sQrilNGEitY/+Q kPnCvI3odz1XXf/MZQtXwlxJA4lPmx8/K7MqBj9vh0J5jRznpE7l+SBDmmDobIqBAgl6BZvH 1C7e2y72h5T1/plrXonLUGzthqBtsvWl0ogoyTJqiwCg6AOhYX+Xbcl8/AXy4F4qbUq4LXsD /j6yCKRkyleN688y9YpuS5J6/ZZ/OBCM74pa2iNge3GmXn1JeUowF693QFCGHkpswmDIoGhL 5iM6GHj9HFB6rTXW5H3sR1y6ta7vXwoNBGkgiM89B1a/KsLT5L6MZgZ5AV0tj6vxwAsuLixS SDiNVNAd8vp2FfqdLlOgThsgVIwKBACsCzZa1VxpdoNSYnkTOSZhEjZkbWApdneQ2bTxXJgW +fWgVeLiojCp6I1AmQqzwHz8UN1nrsQjH8Rnxt2J/C5H/Ek9jlOFakFQXlPMZw3tNeTA1P3B 3zPyq6hKFPZHFklUquE3gHVjnX9qxSW0xvFirf6xAMCMYWRnCQHRgiXoAc0hSG9sZ2VyIEph a29icyA8aG9sZ2VyQGpha29icy5jb20+wnsEExECADsCGwMGCwkIBwMCAxUCAwMWAgECHgEC F4AWIQScuJCxWJK1p5BOebGKV5yTsxlhugUCaVdWsQUJMQE4HAAKCRCKV5yTsxlhureAAJ96 hJrXLiFGQJknuPn8vYEFTvQe4gCgjfc8YoZBMiEgbgibbp+9Ho93YZLOwE0EQbwgEBAEAKIa ShfwcoKhx0LBF0zNz2yIOzXDRg1rKFM+cr0iLfDPNLZH01LJaw9BXLHqGRV9KYroITlHN+4N TOtgSDJpX/a9PckP0aSj5G4WeN5C9WjyFzX1uYFKf3kBOSL6EXL/rwyqkyWwbtjIKW5FKleH arGWFuHYXNMhCaIRABHiQUITAAMFA/9nVjqfChfD/kmYsksVy9lmUV+fiD1OPIxLAfnT8Beo 4ClxzL0lLOhMVjzsi2YaSEPSqPXw8kFK3a6oBIauTb/nlcrn3pFaeh7Iv2bOPmvrCgOo81Fc hsrzl+gZUgxGtv8S5+BI4/kfpUfJu8E8PgKmkTDhDR9GwwJo5y+JuSMeisJmBBgRAgAmAhsM FiEEnLiQsViStaeQTnmxileck7MZYboFAmlXVsYFCTEBODYACgkQileck7MZYbomuQCgj9xe vI2QAGxQS+u27l+7zpHvUAEAoNL+6+cWX1zG3GfEk5j0nAmwPtyi In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------Em59UZY6PXXAv5cP3SJAE6yB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 02.03.26 um 15:31 schrieb Ron Johnson: > On Mon, Mar 2, 2026 at 9:09 AM listy wrote: > > Cannot say about Debian but RHEL family (perhaps exceptions exist) > do not, certainly not on Centos, Ubuntu which I use, yes. > But also rhel/centos do not do major PGsql rel. upgrade within the > same/one OS release, I do not think so. > What happened to me - what I did rather - was upgrade from c9 to > c10. (not officially supported.) > > > This is why I strongly urge you to use the PGDG repositories, not the > packages which RHEL builds. > > -- > Death to , and butter sauce. > Don't boil me, I'm still alive. > lobster! Yes, RHEL doesn't take into account that PostgreSQL will ever be upgraded to another major version. They support the version which was current when they had their feature freeze for the lifetime of the system. Therefore Ron is perfectly correct in writing that everybody should use the PGDG from the beginning. You might have success installing the new version from PGDG repos and then run pg_upgrade (with all 4 mentioned options) from the new version. The preconditions for pg_upgrade are: * you have the old and the new software version installed (pg-13 and pg-18) in different directories * you have the old cluster unchanged and an empty new cluster in different directories Maybe it helps to move the data directory of the old cluster before installing the new software package. Make sure you also change the path in the systemd service unit of the old version. If the database isn't large, dump & restore will also work fine. Regards, Holger -- Holger Jakobs, Bergisch Gladbach, Germany --------------Em59UZY6PXXAv5cP3SJAE6yB Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 02.03.26 um 15:31 schrieb Ron Johnson:
On Mon, Mar 2, 2026 at 9:09 AM listy <listy@localities.work> wrote:
Cannot say about Debian but RHEL family (perhaps exceptions exist) do not, certainly not on Centos, Ubuntu which I use, yes.
But also rhel/centos do not do major PGsql rel. upgrade within the same/one OS release, I do not think so.
What happened to me - what I did rather - was upgrade from c9 to c10. (not officially supported.)

This is why I strongly urge you to use the PGDG repositories, not the packages which RHEL builds.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

Yes, RHEL doesn't take into account that PostgreSQL will ever be upgraded to another major version. They support the version which was current when they had their feature freeze for the lifetime of the system.

Therefore Ron is perfectly correct in writing that everybody should use the PGDG from the beginning.

You might have success installing the new version from PGDG repos and then run pg_upgrade (with all 4 mentioned options) from the new version. The preconditions for pg_upgrade are:

  • you have the old and the new software version installed (pg-13 and pg-18) in different directories
  • you have the old cluster unchanged and an empty new cluster in different directories

Maybe it helps to move the data directory of the old cluster before installing the new software package. Make sure you also change the path in the systemd service unit of the old version.

If the database isn't large, dump & restore will also work fine.

Regards,

Holger

--

Holger Jakobs, Bergisch Gladbach, Germany

--------------Em59UZY6PXXAv5cP3SJAE6yB--