Re: pg_upgrade from 12 to 13 failes with plpython2 - Mailing list pgsql-general

From Marcin Giedz
Subject Re: pg_upgrade from 12 to 13 failes with plpython2
Date
Msg-id 1359566111.1497149.1605726303756.JavaMail.zimbra@arise.pl
Whole thread Raw
In response to Re: pg_upgrade from 12 to 13 failes with plpython2  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_upgrade from 12 to 13 failes with plpython2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
so look at this:


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

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

template1=# drop extension plpython2u;
ERROR:  extension "plpython2u" does not exist
template1=# drop extension plpythonu;
ERROR:  extension "plpythonu" does not exist
template1=# drop extension plpython;
ERROR:  extension "plpython" does not exist
template1=# \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=# drop extension plpython;
ERROR:  extension "plpython" does not exist
argosrm=# drop extension plpythonu;
ERROR:  extension "plpythonu" does not exist
argosrm=# drop extension plpython2u;
ERROR:  extension "plpython2u" does not exist



Od: "Tom Lane" <tgl@sss.pgh.pa.us>
Do: "Marcin Giedz" <marcin.giedz@arise.pl>
DW: "Laurenz Albe" <laurenz.albe@cybertec.at>, "Magnus Hagander" <magnus@hagander.net>, "Adrian Klaver" <adrian.klaver@aklaver.com>, "Devrim Gündüz" <devrim@gunduz.org>, "pgsql-general" <pgsql-general@lists.postgresql.org>
Wysłane: środa, 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 plpython2u extensions in every database.

                        regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_upgrade from 12 to 13 failes with plpython2
Next
From: Tom Lane
Date:
Subject: Re: pg_upgrade from 12 to 13 failes with plpython2