Re: Checking for Presence of Required Libraries Fails duringPostgreSQL Upgrade - Mailing list pgsql-general

From David G. Johnston
Subject Re: Checking for Presence of Required Libraries Fails duringPostgreSQL Upgrade
Date
Msg-id CAKFQuwYWqhJV+D_gA71LVvwe-Ud_3+kwvpR-WRL2Pkw6qU8s9Q@mail.gmail.com
Whole thread Raw
In response to Re: Checking for Presence of Required Libraries Fails duringPostgreSQL Upgrade  (TalGloz <glozmantal@gmail.com>)
List pgsql-general
On Sat, May 2, 2020 at 12:31 AM TalGloz <glozmantal@gmail.com> wrote:
Adrian Klaver-4 wrote
> On 5/1/20 3:39 PM, TalGloz wrote:
>> Adrian Klaver-4 wrote
>>> Why not compile them against 11?
>>>
>>> Then follow step 5) here:
>>>
>>> https://www.postgresql.org/docs/12/pgupgrade.html

2.  How to upgrade PostgreSQL from 11 to 12
<https://www.kostolansky.sk/posts/upgrading-to-postgresql-12/>  . The steps
were written for Ubuntu / Debian, It should work the same by updating the
paths to correct Fedora related paths of PostreSQL installation.

Unfortunately, none of the tutorials describes the steps on how to port /
handle some manually created C extension functions libraries to the new
PostgreSQL instance.


Yes, the but guide for upgrading in the documentation does describe the step of porting extension libraries.  It says you need to do that before you run pg_upgrade and ensure that whatever is being installed onto the new server is binary compatible.  It even says explicitly that pg_upgrade cannot do this for you.


David J.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Checking for Presence of Required Libraries Fails duringPostgreSQL Upgrade
Next
From: Matthias Apitz
Date:
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?