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 1kfVGw-0002Gr-Ff for pgsql-general@arkaria.postgresql.org; Wed, 18 Nov 2020 21:45:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kfVGt-0004Hc-5Q for pgsql-general@arkaria.postgresql.org; Wed, 18 Nov 2020 21:45:47 +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 1kfVGs-0004Gq-TL for pgsql-general@lists.postgresql.org; Wed, 18 Nov 2020 21:45:46 +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 1kfVGq-00055D-Cb for pgsql-general@lists.postgresql.org; Wed, 18 Nov 2020 21:45:45 +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 0AILjOjW1004476; Wed, 18 Nov 2020 16:45:25 -0500 From: Tom Lane To: Bruce Momjian cc: Marcin Giedz , Laurenz Albe , Magnus Hagander , Adrian Klaver , Devrim =?iso-8859-1?B?R/xuZPx6?= , pgsql-general Subject: Re: pg_upgrade from 12 to 13 failes with plpython2 In-reply-to: <20201118210124.GB13839@momjian.us> References: <296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at> <528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl> <993885.1605722905@sss.pgh.pa.us> <1359566111.1497149.1605726303756.JavaMail.zimbra@arise.pl> <996837.1605726802@sss.pgh.pa.us> <1372359469.1497249.1605728536470.JavaMail.zimbra@arise.pl> <999795.1605729240@sss.pgh.pa.us> <1948396366.1497285.1605729598546.JavaMail.zimbra@arise.pl> <20201118200638.GA13839@momjian.us> <1001208.1605731156@sss.pgh.pa.us> <20201118210124.GB13839@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 18 Nov 2020 16:01:24 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1004474.1605735924.1@sss.pgh.pa.us> Date: Wed, 18 Nov 2020 16:45:24 -0500 Message-ID: <1004475.1605735924@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > On Wed, Nov 18, 2020 at 03:25:56PM -0500, Tom Lane wrote: >> Maybe pg_upgrade should print the actual function names, not just the >> probin values. > It is done that way so we don't overwhelm them with lots of function > names, and they can focus on the library. I was thinking of showing > them a query that would allow them to investigate. These days "focus on the extension" would be more helpful. Maybe we could check to see if all the functions referencing a given .so belong to the same extension, and if so complain about that extension? I think there's a reasonable argument that functions that don't belong to any known extension should be printed individually, because more than likely the user's gonna have to clean them up manually, as we saw here. regards, tom lane