Hi,

> On 26. Sep, 2020, at 11:42, Paul Förster <paul.foers...@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

Reply via email to