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 1jUu2h-0007JT-J8 for pgsql-general@arkaria.postgresql.org; Sat, 02 May 2020 15:27:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jUu2f-0002ny-Li for pgsql-general@arkaria.postgresql.org; Sat, 02 May 2020 15:27:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUu2f-0002nn-De for pgsql-general@lists.postgresql.org; Sat, 02 May 2020 15:27:01 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUu2b-0004ib-US for pgsql-general@postgresql.org; Sat, 02 May 2020 15:27:00 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 87CFA36D; Sat, 2 May 2020 11:26:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 02 May 2020 11:26:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=G MjfPUOYNCz0Fa1OMlKdegCU4AcOYIgJVOXE5Ee9j10=; b=UTBIA/jg6+r6Xfmwg txIxl6UO9+8jjpPO+g1r82XVF8D+SkFGpsp0Cweh9Y9o07143j+JfD23UQRfPuHE n/LPsFcRk1F94P6cvp0x9dXfPPgx6iXPnn3SV19NR8dA+k9vc98QZloMYo1hFkkH vfMHSPeuOp9DY+2k/EvmDE7xLSAd/ct7amvuU0xtZC8dQEFaXduVFseyOINu3wyR HTxwnpOpQNApCjcI9HtNsOj+yygyhWzinqx7283mE0ORNISqtPid5LgG3nWKFXqw UL0UCn42hDSrYrAK85LJG3fvUwTy9Gom8VAKdwDE062RmUGbMn3rcCuRkQRk0F08 Zd2Gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=GMjfPUOYNCz0Fa1OMlKdegCU4AcOYIgJVOXE5Ee9j 10=; b=kXNkyqSjMy0YcGRwv2Zic+czYyu3CaIJTDsRiLd/nSwg/lOy0iWr/hfZt atSScBBzTbNF2gKWO6/Qq9Pu9S9/pwH/+jUaOcnIxiaHlhQ7MMaQeNITuswfsAQn dMvAST4ds0Zb/Br9dv5tyBamooKBK4rBjVfr4ISwUycwSN8ZDFSjZ8fHtZR75Lw2 euMUjQR08Vmt5NQgGDg8TT59ZdGB28pR+Nz85w/rqk9MtldF3MKAds7hJ6BzzkC+ orzCayROf9q31ZggNAl+MFVs4cCx+PJoEQo4mea24OKctTa5Sh3oWwUn6143WXW0 gdDZhnZFG00DUJkQbE9RrHZnlHQKQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrieelgdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpefghfetkeduud etfeetjeeludetteekueehfffgvedvleeihfevfffhfeehgeduvdenucffohhmrghinhep phhoshhtghhrvghsqhhlrdhorhhgpdhpohhsthhgrhgvshhqlhdqrghrtghhihhvvgdroh hrghdpuggsthhuthdrtghomhdpkhhoshhtohhlrghnshhkhidrshhknecukfhppeejhedr udejvddrhedrvdefudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 6349D3280063; Sat, 2 May 2020 11:26:55 -0400 (EDT) Subject: Re: Checking for Presence of Required Libraries Fails during PostgreSQL Upgrade To: TalGloz , pgsql-general@postgresql.org 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> <1588404653463-0.post@n3.nabble.com> From: Adrian Klaver Message-ID: <8cb31bb3-fd63-c9f7-1c8b-5167dcf3795e@aklaver.com> Date: Sat, 2 May 2020 08:26:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <1588404653463-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/2/20 12:30 AM, TalGloz 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 >>> >>> Step 5 doesn’t actually say how to compile them during the upgrade >>> 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? >> >> You haven't said how you installed the various versions of Postgres in >> the first place. Bottom line is that the libraries that existed in the >> old version need to exist on the new version. If they where not included >> as part of the install process them they need to be manually >> created/added. >> >>> >>> >>> >>> >>> -- >>> Sent from: >>> https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html >>> >>> >> >> >> -- >> Adrian Klaver > >> adrian.klaver@ > > > I use Fedora OS and I've a set up and running PostgreSQL10 instance that > I've installed using > *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 on > 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. Follow the same procedure you used to build/install them for the Postgres 10, except run against the 12 instance. Do this before you do the pg_upgrade procedure. > > TalGloz > > > > -- > Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html > > -- Adrian Klaver adrian.klaver@aklaver.com