Re: pg_upgrade Python version issue on openSUSE

Поиск
Список
Период
Сортировка
От Paul Förster
Тема Re: pg_upgrade Python version issue on openSUSE
Дата
Msg-id 06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.com
обсуждение исходный текст
Ответ на Re: pg_upgrade Python version issue on openSUSE  (Paul Förster <paul.foerster@gmail.com>)
Ответы Re: pg_upgrade Python version issue on openSUSE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
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.9yet, 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


В списке pgsql-general по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: PG 13 trusted extensions and pg_available_extensions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade Python version issue on openSUSE