Search Postgresql Archives

Re: pg_upgrade Python version issue on openSUSE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux