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 1kfdAE-0005QI-7k for pgsql-general@arkaria.postgresql.org; Thu, 19 Nov 2020 06:11:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kfdAD-0000GN-3E for pgsql-general@arkaria.postgresql.org; Thu, 19 Nov 2020 06:11:25 +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 1kfdAC-0000GE-Rg for pgsql-general@lists.postgresql.org; Thu, 19 Nov 2020 06:11:24 +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 1kfdAA-0000dg-Ko for pgsql-general@lists.postgresql.org; Thu, 19 Nov 2020 06:11:23 +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 0AJ6B0s81026149; Thu, 19 Nov 2020 01:11:00 -0500 From: Tom Lane To: Bruce Momjian cc: Rob Sargent , Devrim =?iso-8859-1?B?R/xuZPx6?= , Marcin Giedz , Laurenz Albe , Magnus Hagander , Adrian Klaver , pgsql-general Subject: Re: pg_upgrade from 12 to 13 failes with plpython2 In-reply-to: <20201119055738.GA9349@momjian.us> References: <20201119043943.GB6414@momjian.us> <97B34E7D-9A94-413E-8A04-D9C3683EE2AC@gmail.com> <20201119055738.GA9349@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 19 Nov 2020 00:57:38 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1026147.1605766260.1@sss.pgh.pa.us> Date: Thu, 19 Nov 2020 01:11:00 -0500 Message-ID: <1026148.1605766260@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > It didn't trigger this message for him, and I am also wondering if it > should have. The extra functions in this case were in pg_catalog, not public, so there is exactly no part of that error message that is applicable. In any case, that seems an overly specific solution. The generic problem is how to usefully identify some functions that have dangling probin pointers. I don't want a solution that only works for the plpython functions. regards, tom lane