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 1kfSnG-0005Gl-Tq for pgsql-general@arkaria.postgresql.org; Wed, 18 Nov 2020 19:07:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kfSnF-00078A-Th for pgsql-general@arkaria.postgresql.org; Wed, 18 Nov 2020 19:07:01 +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 1kfSld-0002Tr-6q for pgsql-general@lists.postgresql.org; Wed, 18 Nov 2020 19:05:21 +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 1kfSla-0003p1-8P for pgsql-general@lists.postgresql.org; Wed, 18 Nov 2020 19:05:20 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.arise.pl (Postfix) with ESMTP id 5AA6334D387; Wed, 18 Nov 2020 20:05:15 +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 aqHlLDZwyxio; Wed, 18 Nov 2020 20:05:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.arise.pl (Postfix) with ESMTP id 3B60534D3E6; Wed, 18 Nov 2020 20:05:04 +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 dE79ufHNIZ9E; Wed, 18 Nov 2020 20:05:04 +0100 (CET) Received: from mail1.arise (mail1.arise [172.16.198.9]) by mail.arise.pl (Postfix) with ESMTP id 022F434D387; Wed, 18 Nov 2020 20:05:03 +0100 (CET) Date: Wed, 18 Nov 2020 20:05:03 +0100 (CET) From: Marcin Giedz To: Tom Lane Cc: Laurenz Albe , Magnus Hagander , Adrian Klaver , Devrim =?utf-8?B?R8O8bmTDvHo=?= , pgsql-general Message-ID: <1359566111.1497149.1605726303756.JavaMail.zimbra@arise.pl> In-Reply-To: <993885.1605722905@sss.pgh.pa.us> References: <1965058112.1483134.1605643217808.JavaMail.zimbra@arise.pl> <410666958.1483934.1605683452910.JavaMail.zimbra@arise.pl> <241497908.1487873.1605693947374.JavaMail.zimbra@arise.pl> <296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at> <528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl> <993885.1605722905@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_1497148_1682473391.1605726303755" 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: /M8/i2inO6fXXpsYeOwAZ40Vhy+6kg== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_1497148_1682473391.1605726303755 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable so look at this:=20 marcin@carbon2:~$ psql -U pgsql -h 192.168.89.64 postgres=20 psql (12.4 (Ubuntu 12.4-1), server 12.5)=20 Type "help" for help.=20 postgres=3D# drop extension plpython;=20 ERROR: extension "plpython" does not exist=20 postgres=3D# drop extension plpythonu;=20 ERROR: extension "plpythonu" does not exist=20 postgres=3D# drop extension plpython2u;=20 ERROR: extension "plpython2u" does not exist=20 postgres=3D# \q=20 marcin@carbon2:~$ psql -U pgsql -h 192.168.89.64 template1=20 psql (12.4 (Ubuntu 12.4-1), server 12.5)=20 Type "help" for help.=20 template1=3D# drop extension plpython2u;=20 ERROR: extension "plpython2u" does not exist=20 template1=3D# drop extension plpythonu;=20 ERROR: extension "plpythonu" does not exist=20 template1=3D# drop extension plpython;=20 ERROR: extension "plpython" does not exist=20 template1=3D# \q=20 marcin@carbon2:~$ psql -U pgsql -h 192.168.89.64 argosrm=20 psql (12.4 (Ubuntu 12.4-1), server 12.5)=20 Type "help" for help.=20 argosrm=3D# drop extension plpython;=20 ERROR: extension "plpython" does not exist=20 argosrm=3D# drop extension plpythonu;=20 ERROR: extension "plpythonu" does not exist=20 argosrm=3D# drop extension plpython2u;=20 ERROR: extension "plpython2u" does not exist=20 Od: "Tom Lane" =20 Do: "Marcin Giedz" =20 DW: "Laurenz Albe" , "Magnus Hagander" , "Adrian Klaver" , "Devrim G=C3=BCnd= =C3=BCz" , "pgsql-general" =20 Wys=C5=82ane: =C5=9Broda, 18 listopad 2020 19:08:25=20 Temat: Re: pg_upgrade from 12 to 13 failes with plpython2=20 Marcin Giedz writes:=20 > all DBs checked and no plpython(2u) is found except for plpython3u=20 I think you also need to make sure you've dropped the plpythonu=20 and plpython2u extensions in every database.=20 regards, tom lane=20 ------=_Part_1497148_1682473391.1605726303755 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
so look at this:


marcin@carbon2:= ~$ psql -U pgsql -h 192.168.89.64 postgres
psql (12.4 (Ubuntu 12.4-1), s= erver 12.5)
Type "help" for help.

postgres=3D# drop extension plp= ython;
ERROR:  extension "plpython" does not exist
postgres=3D# = drop extension plpythonu;
ERROR:  extension "plpythonu" does not ex= ist
postgres=3D# drop extension plpython2u;
ERROR:  extension "p= lpython2u" does not exist
postgres=3D# \q
marcin@carbon2:~$ psql -U p= gsql -h 192.168.89.64 template1
psql (12.4 (Ubuntu 12.4-1), server 12.5)=
Type "help" for help.

template1=3D# drop extension plpython2u;ERROR:  extension "plpython2u" does not exist
template1=3D# drop = extension plpythonu;
ERROR:  extension "plpythonu" does not existtemplate1=3D# drop extension plpython;
ERROR:  extension "plpytho= n" does not exist
template1=3D# \q
marcin@carbon2:~$ psql -U pgsql -h= 192.168.89.64 argosrm
psql (12.4 (Ubuntu 12.4-1), server 12.5)
Type = "help" for help.

argosrm=3D# drop extension plpython;
ERROR: = ; extension "plpython" does not exist
argosrm=3D# drop extension plpytho= nu;
ERROR:  extension "plpythonu" does not exist
argosrm=3D# dro= p extension plpython2u;
ERROR:  extension "plpython2u" does not exi= st



Od: "Tom Lane" <tgl@= sss.pgh.pa.us>
Do: "Marcin Giedz" <marcin.giedz@arise.pl>= ;
DW: "Laurenz Albe" <laurenz.albe@cybertec.at>, "Magnus Ha= gander" <magnus@hagander.net>, "Adrian Klaver" <adrian.klaver@akla= ver.com>, "Devrim G=C3=BCnd=C3=BCz" <devrim@gunduz.org>, "pgsql-ge= neral" <pgsql-general@lists.postgresql.org>
Wys=C5=82ane: = =C5=9Broda, 18 listopad 2020 19:08:25
Temat: Re: pg_upgrade from = 12 to 13 failes with plpython2

Marcin Giedz <marcin.giedz@arise.pl> writes:
>= all DBs checked and no plpython(2u) is found except for plpython3u
I think you also need to make sure you've dropped the plpythonu
and plp= ython2u extensions in every database.

     =             &nb= sp;      regards, tom lane

=

------=_Part_1497148_1682473391.1605726303755--