On Sat, May 2, 2020 at 12:31 AM TalGloz <glozman...@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. https://www.postgresql.org/docs/12/pgupgrade.html David J.