From: Marcin Giedz <marcin.giedz@arise.pl>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Devrim Gündüz <devrim@gunduz.org>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: pg_upgrade from 12 to 13 failes with plpython2
Date: Wed, 18 Nov 2020 18:50:42 +0100 (CET)
Message-ID: <528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl> (raw)
In-Reply-To: <296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at>
References: <1965058112.1483134.1605643217808.JavaMail.zimbra@arise.pl>
<938921.1605648230@sss.pgh.pa.us>
<f722e1f93c75c17826460951e596baeb0d4a4e0c.camel@gunduz.org>
<f8fe260a-4518-5901-15b7-43f56b373d71@aklaver.com>
<410666958.1483934.1605683452910.JavaMail.zimbra@arise.pl>
<CABUevEzHz4cEtxDQLkdVVzAzfQtWXs=hOiSxD=SCDZwoXeKjng@mail.gmail.com>
<241497908.1487873.1605693947374.JavaMail.zimbra@arise.pl>
<296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at>
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
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: marcin.giedz@arise.pl, laurenz.albe@cybertec.at, magnus@hagander.net, adrian.klaver@aklaver.com, tgl@sss.pgh.pa.us, devrim@gunduz.org
Subject: Re: pg_upgrade from 12 to 13 failes with plpython2
In-Reply-To: <528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl>
References: <1965058112.1483134.1605643217808.JavaMail.zimbra@arise.pl> <938921.1605648230@sss.pgh.pa.us> <f722e1f93c75c17826460951e596baeb0d4a4e0c.camel@gunduz.org> <f8fe260a-4518-5901-15b7-43f56b373d71@aklaver.com> <410666958.1483934.1605683452910.JavaMail.zimbra@arise.pl> <CABUevEzHz4cEtxDQLkdVVzAzfQtWXs=hOiSxD=SCDZwoXeKjng@mail.gmail.com> <241497908.1487873.1605693947374.JavaMail.zimbra@arise.pl> <296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at> <528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl>
* 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