pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: pg_upgrade Python version issue on openSUSE
Date: Sat, 26 Sep 2020 12:58:51 +0200
Message-ID: <06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.com> (raw)
In-Reply-To: <1FB046FC-BE42-4D66-B0AE-E94B6CB9498E@gmail.com>
References: <553A044A-D0E3-475D-8DC0-5845381CB086@gmail.com>
	<1FB046FC-BE42-4D66-B0AE-E94B6CB9498E@gmail.com>

Hi,

> On 26. Sep, 2020, at 11:42, Paul Förster <paul.foerster@gmail.com> wrote:
> 
> the two things I forgot to mention are:
> 
> a) the versions I will be upgrading from are 11.9 and 12.4. The above thing happens with 12.4. Since I didn't check 11.9 yet, I cannot say if it appears there too.
> 
> b) the 12.4 software also does not have plpython2 files in its lib64 directory. Both only have plpython3.so:
> 
> $ ll /data/postgres/*/lib64/plpython*
> -rwxr-xr-x 1 postgres dba 151672 Aug 13 16:28 /data/postgres/12.4/lib64/plpython3.so
> -rwxr-xr-x 1 postgres dba 151544 Sep 26 10:38 /data/postgres/13.0/lib64/plpython3.so
> 
> Any help would be appreciated. Thanks very much in advance.

seems, I found some kind of solution:

- before running "pg_upgrade --check -k":
  drop extension plpythonu;
- run pg_upgrade
- after the upgrade:
  create extension plpython3u;

Is this the correct way?

Cheers,
Paul




view thread (28+ messages)  latest in thread

Message-ID: <06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.com>
Permalink:  ../06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.com/
Also on:    postgresql.org/message-id/06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.com

 · 

reply

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: paul.foerster@gmail.com
  Subject: Re: pg_upgrade Python version issue on openSUSE
  In-Reply-To: <06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.com>
  References: <553A044A-D0E3-475D-8DC0-5845381CB086@gmail.com> <1FB046FC-BE42-4D66-B0AE-E94B6CB9498E@gmail.com> <06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.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