pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Devrim Gündüz <devrim@gunduz.org>
Cc: Marcin Giedz <marcin.giedz@arise.pl>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: pg_upgrade from 12 to 13 failes with plpython2
Date: Tue, 17 Nov 2020 15:15:39 -0500
Message-ID: <936117.1605644139@sss.pgh.pa.us> (raw)
In-Reply-To: <7a90ff88645ac6efcdc1436365a07d63b04b90d2.camel@gunduz.org>
References: <1965058112.1483134.1605643217808.JavaMail.zimbra@arise.pl>
	<7a90ff88645ac6efcdc1436365a07d63b04b90d2.camel@gunduz.org>

Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= <devrim@gunduz.org> writes:
> On Tue, 2020-11-17 at 21:00 +0100, Marcin Giedz wrote:
>> Hi all, trying to performe upgrade from 12 to 13 installed from
>> Centos8 repo gives such error: 
>> 
>> cat loadable_libraries.txt 
>> could not load library "$libdir/plpython2": ERROR: could not access
>> file "$libdir/plpython2": No such file or directory 

> I dropped PL/Python support along with PostgreSQL 13 RPMs.

Yeah, I tried to stir up some interest in having a cleaner python 2
to python 3 migration path, but there wasn't any.  Best bet probably
is to convert your plpython[2] functions to plpython3 before you
upgrade.

			regards, tom lane





view thread (34+ messages)  latest in thread

Message-ID: <936117.1605644139@sss.pgh.pa.us>
Permalink:  ../936117.1605644139@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/936117.1605644139@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, devrim@gunduz.org, marcin.giedz@arise.pl
  Subject: Re: pg_upgrade from 12 to 13 failes with plpython2
  In-Reply-To: <936117.1605644139@sss.pgh.pa.us>
  References: <1965058112.1483134.1605643217808.JavaMail.zimbra@arise.pl> <7a90ff88645ac6efcdc1436365a07d63b04b90d2.camel@gunduz.org> <936117.1605644139@sss.pgh.pa.us>

* 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