From: TalGloz <glozmantal@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Checking for Presence of Required Libraries Fails during PostgreSQL Upgrade
Date: Sat, 2 May 2020 00:30:53 -0700 (MST)
Message-ID: <1588404653463-0.post@n3.nabble.com> (raw)
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>
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
<https://dbtut.com/index.php/2018/10/30/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
<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.
TalGloz
--
Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: glozmantal@gmail.com
Subject: Re: Checking for Presence of Required Libraries Fails during PostgreSQL Upgrade
In-Reply-To: <1588404653463-0.post@n3.nabble.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> <1588404653463-0.post@n3.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox