Re: pg_upgrade Python version issue on openSUSE - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_upgrade Python version issue on openSUSE
Date
Msg-id 1990004.1601129252@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_upgrade Python version issue on openSUSE  (Paul Förster <paul.foerster@gmail.com>)
Responses Re: pg_upgrade Python version issue on openSUSE
Re: pg_upgrade Python version issue on openSUSE
List pgsql-general
=?utf-8?Q?Paul_F=C3=B6rster?= <paul.foerster@gmail.com> writes:
> seems, I found some kind of solution:

> - before running "pg_upgrade --check -k":
>   drop extension plpythonu;
> - run pg_upgrade
> - after the upgrade:
>   create extension plpython3u;

> Is this the correct way?

If you had plpythonu installed before, that's a plausible thing
to do.  (There was discussion some time ago about making the
python-2-to-3 transition less painful for users, but we failed
to come to any consensus about how; so manual fixes like this
are going to be needed for a lot of people.)

However, I don't understand how "drop extension plpythonu"
worked for you, given your previous query showing that
that extension wasn't installed.

            regards, tom lane



pgsql-general by date:

Previous
From: Paul Förster
Date:
Subject: Re: pg_upgrade Python version issue on openSUSE
Next
From: Tom Lane
Date:
Subject: Re: PG 13 trusted extensions and pg_available_extensions