From: Marcin Giedz <marcin.giedz@arise.pl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
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 20:59:58 +0100 (CET)
Message-ID: <1948396366.1497285.1605729598546.JavaMail.zimbra@arise.pl> (raw)
In-Reply-To: <999795.1605729240@sss.pgh.pa.us>
References: <1965058112.1483134.1605643217808.JavaMail.zimbra@arise.pl>
<296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at>
<528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl>
<993885.1605722905@sss.pgh.pa.us>
<1359566111.1497149.1605726303756.JavaMail.zimbra@arise.pl>
<996837.1605726802@sss.pgh.pa.us>
<1372359469.1497249.1605728536470.JavaMail.zimbra@arise.pl>
<999795.1605729240@sss.pgh.pa.us>
> anyway got this from your query:
> 16402 | plpython_call_handler | 11 | 10 | 13 | 1 | 0 | 0 | - | f | f | f | f | f | v | u | 0 | 0 | 2280 | | | | | | | plpython_call_handler | $libdir/plpython2 | |
> 16403 | plpython_inline_handler | 11 | 10 | 13 | 1 | 0 | 0 | - | f | f | f | t | f | v | u | 1 | 0 | 2278 | 2281 | | | | | | plpython_inline_handler | $libdir/plpython2 | |
> 16404 | plpython_validator | 11 | 10 | 13 | 1 | 0 | 0 | - | f | f | f | t | f | v | u | 1 | 0 | 2278 | 26 | | | | | | plpython_validator | $libdir/plpython2 | |
Uh-huh, so there you have it. These must be leftovers from some
pre-extension incarnation of plpython that was never cleaned up
properly. Try
DROP FUNCTION pg_catalog.plpython_call_handler();
DROP FUNCTION pg_catalog.plpython_inline_handler(internal);
DROP FUNCTION pg_catalog.plpython_validator(oid);
It'll be interesting to see if there are any dependencies.
regards, tom lane
-------------------------------------
BINGO! after drops all went smooth and easy
Many thx Tom!
M.
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, tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at, magnus@hagander.net, adrian.klaver@aklaver.com, devrim@gunduz.org
Subject: Re: pg_upgrade from 12 to 13 failes with plpython2
In-Reply-To: <1948396366.1497285.1605729598546.JavaMail.zimbra@arise.pl>
References: <1965058112.1483134.1605643217808.JavaMail.zimbra@arise.pl> <296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at> <528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl> <993885.1605722905@sss.pgh.pa.us> <1359566111.1497149.1605726303756.JavaMail.zimbra@arise.pl> <996837.1605726802@sss.pgh.pa.us> <1372359469.1497249.1605728536470.JavaMail.zimbra@arise.pl> <999795.1605729240@sss.pgh.pa.us> <1948396366.1497285.1605729598546.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