Re: RHEL certified repo provided PostgreSQL Major Version Upgrade. - Mailing list pgsql-admin

From Sameer Malve
Subject Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.
Date
Msg-id PH0PR14MB520943781088094A05AA3244FD7E2@PH0PR14MB5209.namprd14.prod.outlook.com
Whole thread Raw
In response to Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.
List pgsql-admin
Thanks Tom.  I have installed that upgrade package rpm will go through it and try. And would let you know incase I get stucked .

From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Tuesday, October 8, 2024 7:15:49 PM
To: Sameer Malve <malvesameer@gmail.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>; Sameer Malve <Sameer.Malve@mobileum.com>
Subject: Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.
 
Caution :External

Sameer Malve <malvesameer@gmail.com> writes:
> We are trying to perform the Major version upgrade on RHEL 8 using
> RHEL-certified repo `rhel-8-for-x86_64-appstream-rpms` from PG 15.6 to PG
> 16.4 using `pg_upgrade` but we are facing the below issue.
> As the binaries are getting upgraded in-place `/usr/bin` hence while
> performing pg_upgrade we are not getting the older binaries.

It's been more than ten years since I was responsible for Red Hat's
packaging of PG, but I think I recall that the solution in place for
pg_upgrade involved a separate postgresql-upgrade RPM containing
previous-version executables, which you were supposed to install
alongside the new version for long enough to perform the upgrade.
Whatever the details were, I'm quite certain the package's README file
contained an explanation of how to do it.  Read that, do not pay
attention to people or chatbots telling you how you'd do it with some
other packaging.

                        regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.
Next
From: Holger Jakobs
Date:
Subject: Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.