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

From Sameer Malve
Subject RHEL certified repo provided PostgreSQL Major Version Upgrade.
Date
Msg-id CAEGp0dgUL=j4ULDfGz4j=kbv2sAzP5dmp=Wem7cOknq8gyge4Q@mail.gmail.com
Whole thread Raw
Responses Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.
Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.
Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.
List pgsql-admin
Hi Team,

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.

pg_upgrade command is as follows.

[2024-10-04 11:18:47]  $ /usr/bin/pg_upgrade -b /usr/bin/ -B /usr/bin/ -d /pgData/pgsql/15/data -D /pgData/pgsql/16/data -c
[2024-10-04 11:19:19]  
[2024-10-04 11:19:19]  You must identify the directory where the old cluster binaries reside.
[2024-10-04 11:19:19]  Please use the -b command-line option or the PGBINOLD environment variable.
[2024-10-04 11:19:19]  Failure, exiting
 

Regards,
Sameer Malve

pgsql-admin by date:

Previous
From: Muhammad Usman Khan
Date:
Subject: Re: Ensure 'User' Runtime Parameters are Configured
Next
From: obi reddy
Date:
Subject: Re: RHEL certified repo provided PostgreSQL Major Version Upgrade.