Re: pg_upgrade from 12 to 13 failes with plpython2

Поиск
Список
Период
Сортировка
От Marcin Giedz
Тема Re: pg_upgrade from 12 to 13 failes with plpython2
Дата
Msg-id 528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl
обсуждение исходный текст
Ответ на Re: pg_upgrade from 12 to 13 failes with plpython2  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: pg_upgrade from 12 to 13 failes with plpython2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi, not the case I believe :

postgres=# \l
                              List of databases
   Name    | Owner | Encoding |   Collate   |    Ctype    | Access privileges
-----------+-------+----------+-------------+-------------+-------------------
 argosrm   | pgsql | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 |
 postgres  | pgsql | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 |
 template0 | pgsql | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 | =c/pgsql         +
           |       |          |             |             | pgsql=CTc/pgsql
 template1 | pgsql | UTF8     | pl_PL.UTF-8 | pl_PL.UTF-8 | =c/pgsql         +
           |       |          |             |             | pgsql=CTc/pgsql
(4 rows)

all DBs checked and no plpython(2u) is found except for plpython3u

...

cat loadable_libraries.txt
could not load library "$libdir/plpython2": ERROR:  could not access file "$libdir/plpython2": No such file or directory
In database: argosrm
In database: template1

Thx
M.



Od: "Laurenz Albe" <laurenz.albe@cybertec.at>
Do: "Marcin Giedz" <marcin.giedz@arise.pl>, "Magnus Hagander" <magnus@hagander.net>
DW: "Adrian Klaver" <adrian.klaver@aklaver.com>, "Tom Lane" <tgl@sss.pgh.pa.us>, "Devrim Gündüz" <devrim@gunduz.org>, "pgsql-general" <pgsql-general@lists.postgresql.org>
Wysłane: środa, 18 listopad 2020 12:58:45
Temat: Re: pg_upgrade from 12 to 13 failes with plpython2

On Wed, 2020-11-18 at 11:05 +0100, Marcin Giedz wrote:
> right, I had one function relaying on plpython2u so I changed it... but the again pg_upgrade claims error with python:
>
> cat loadable_libraries.txt
> could not load library "$libdir/plpython2": ERROR:  could not access file "$libdir/plpython2": No such file or directory
> In database: argosrm
> In database: template1

The problematic function is perhaps in another database.
Look everywhere.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com


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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: How to select values in a JSON type of column?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade from 12 to 13 failes with plpython2