Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUmc2-0008TH-6v for pgsql-general@arkaria.postgresql.org; Sat, 02 May 2020 07:31:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jUmc0-0006na-96 for pgsql-general@arkaria.postgresql.org; Sat, 02 May 2020 07:31:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUmc0-0006nS-1I for pgsql-general@lists.postgresql.org; Sat, 02 May 2020 07:31:00 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jUmbv-00062P-0u for pgsql-general@postgresql.org; Sat, 02 May 2020 07:30:57 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 719D51D0EFD3E for ; Sat, 2 May 2020 00:30:53 -0700 (MST) Date: Sat, 2 May 2020 00:30:53 -0700 (MST) From: TalGloz To: pgsql-general@postgresql.org Message-ID: <1588404653463-0.post@n3.nabble.com> In-Reply-To: <74818e4b-051e-5c8e-5a26-1a7e800aaa66@aklaver.com> References: <1588370616126-0.post@n3.nabble.com> <218736a4-9a36-9e56-67cd-52e55f9ed3ce@aklaver.com> <1588372781606-0.post@n3.nabble.com> <74818e4b-051e-5c8e-5a26-1a7e800aaa66@aklaver.com> Subject: Re: Checking for Presence of Required Libraries Fails during PostgreSQL Upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 >>=20 >> Step 5 doesn=E2=80=99t actually say how to compile them during the upgra= de >> process >> it just gives a warning about not to use "CREATE EXTENSION my_lib" >> because >> this won't effect the target version. Do you mean that I'll have to >> compile >> them manually to my target PostgreSQL Version? >=20 > You haven't said how you installed the various versions of Postgres in=20 > the first place. Bottom line is that the libraries that existed in the=20 > old version need to exist on the new version. If they where not included= =20 > as part of the install process them they need to be manually > created/added. >=20 >>=20 >>=20 >>=20 >>=20 >> -- >> Sent from: >> https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html >>=20 >>=20 >=20 >=20 > --=20 > Adrian Klaver > adrian.klaver@ I use Fedora OS and I've a set up and running PostgreSQL10 instance that I've installed using=20 *dnf install postgresql10**. Sicne I've decided to upgrade directly to 12 instead of to 11 I've installed the 12 version using *dnf install postgresql12**. I'm currently following the steps described in: 1. UPGRADE POSTGRESQL 10 To 11 . It has some syntax errors in the suggested command lines that I've corrected o= n my side. 2. How to upgrade PostgreSQL from 11 to 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. TalGloz -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.h= tml