Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfTch-00077g-Fb for pgsql-general@arkaria.postgresql.org; Wed, 18 Nov 2020 20:00:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kfTce-0008Cx-8E for pgsql-general@arkaria.postgresql.org; Wed, 18 Nov 2020 20:00:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfTcd-0008Cq-WF for pgsql-general@lists.postgresql.org; Wed, 18 Nov 2020 20:00:08 +0000 Received: from mail.arise.pl ([77.79.204.235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfTcX-0004J6-Ef for pgsql-general@lists.postgresql.org; Wed, 18 Nov 2020 20:00:07 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.arise.pl (Postfix) with ESMTP id D2FC634D387; Wed, 18 Nov 2020 20:59:59 +0100 (CET) Received: from mail.arise.pl ([127.0.0.1]) by localhost (mail1.arise [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id DeY2JOtDj6hP; Wed, 18 Nov 2020 20:59:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.arise.pl (Postfix) with ESMTP id DF6CC34D3E6; Wed, 18 Nov 2020 20:59:58 +0100 (CET) X-Virus-Scanned: amavisd-new at arise.pl Received: from mail.arise.pl ([127.0.0.1]) by localhost (mail1.arise [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id s__cv7xpL75z; Wed, 18 Nov 2020 20:59:58 +0100 (CET) Received: from mail1.arise (mail1.arise [172.16.198.9]) by mail.arise.pl (Postfix) with ESMTP id ABAAB34D387; Wed, 18 Nov 2020 20:59:58 +0100 (CET) Date: Wed, 18 Nov 2020 20:59:58 +0100 (CET) From: Marcin Giedz To: Tom Lane Cc: Laurenz Albe , Magnus Hagander , Adrian Klaver , Devrim =?utf-8?B?R8O8bmTDvHo=?= , pgsql-general Message-ID: <1948396366.1497285.1605729598546.JavaMail.zimbra@arise.pl> 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> Subject: Re: pg_upgrade from 12 to 13 failes with plpython2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1497284_453584786.1605729598546" X-Mailer: Zimbra 8.6.0_GA_1153 (ZimbraWebClient - FF82 (Linux)/8.6.0_GA_1153) Thread-Topic: pg_upgrade from 12 to 13 failes with plpython2 Thread-Index: UaOLAqeNdYPh1/QDgqCB6+4CLYWCfw== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_1497284_453584786.1605729598546 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit > 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. ------=_Part_1497284_453584786.1605729598546 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

> anyway got this from your query:

> 16402 | plpython_cal= l_handler | 11 | 10 | 13 | 1 | 0 | 0 | - | f | f | f | f | f | v | u | 0 | = 0 | 2280 | | | | | | | plpython_call_handler | $libdir/plpython2 | |
&g= t; 16403 | plpython_inline_handler | 11 | 10 | 13 | 1 | 0 | 0 | - | f | f |= f | t | f | v | u | 1 | 0 | 2278 | 2281 | | | | | | plpython_inline_handle= r | $libdir/plpython2 | |
> 16404 | plpython_validator | 11 | 10 | 1= 3 | 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 incarnati= on of plpython that was never cleaned up
properly.  Try

DROP= FUNCTION pg_catalog.plpython_call_handler();
DROP FUNCTION pg_catalog.p= lpython_inline_handler(internal);
DROP FUNCTION pg_catalog.plpython_vali= dator(oid);

It'll be interesting to see if there are any dependencie= s.

           = ;            &n= bsp;regards, tom lane

------------------------= -------------

<= /div>
BINGO! after drops all went smooth and easy


Many thx Tom!

M.

------=_Part_1497284_453584786.1605729598546--