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 1kf7OU-0008F2-1F for pgsql-general@arkaria.postgresql.org; Tue, 17 Nov 2020 20:16:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kf7OS-0000ms-PO for pgsql-general@arkaria.postgresql.org; Tue, 17 Nov 2020 20:16:00 +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 1kf7OS-0000mF-H0 for pgsql-general@lists.postgresql.org; Tue, 17 Nov 2020 20:16:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kf7OM-0000wB-7O for pgsql-general@lists.postgresql.org; Tue, 17 Nov 2020 20:15:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0AHKFd8c936118; Tue, 17 Nov 2020 15:15:39 -0500 From: Tom Lane To: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= cc: Marcin Giedz , pgsql-general Subject: Re: pg_upgrade from 12 to 13 failes with plpython2 In-reply-to: <7a90ff88645ac6efcdc1436365a07d63b04b90d2.camel@gunduz.org> References: <1965058112.1483134.1605643217808.JavaMail.zimbra@arise.pl> <7a90ff88645ac6efcdc1436365a07d63b04b90d2.camel@gunduz.org> Comments: In-reply-to Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= message dated "Tue, 17 Nov 2020 20:06:36 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <936116.1605644139.1@sss.pgh.pa.us> Date: Tue, 17 Nov 2020 15:15:39 -0500 Message-ID: <936117.1605644139@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= 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