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 1lIw8q-0008Mz-JD for pgsql-admin@arkaria.postgresql.org; Sun, 07 Mar 2021 16:20:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lIw8n-0006wN-6n for pgsql-admin@arkaria.postgresql.org; Sun, 07 Mar 2021 16:20: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 1lIw8m-0006wE-7c for pgsql-admin@lists.postgresql.org; Sun, 07 Mar 2021 16:20: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 1lIw8e-0004Kl-K0 for pgsql-admin@lists.postgresql.org; Sun, 07 Mar 2021 16:20:21 +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 127GK9I81622692; Sun, 7 Mar 2021 11:20:09 -0500 From: Tom Lane To: RAJAMOHAN cc: Holger Jakobs , pgsql-admin@lists.postgresql.org Subject: Re: could not load library "$libdir/plpython2" while upgrading from postgresql-10 to 12 In-reply-to: References: <3641e106-1db2-270a-691d-521ffacf03c7@jakobs.com> Comments: In-reply-to RAJAMOHAN message dated "Sun, 07 Mar 2021 12:31:40 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1622690.1615134009.1@sss.pgh.pa.us> Date: Sun, 07 Mar 2021 11:20:09 -0500 Message-ID: <1622691.1615134009@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk RAJAMOHAN writes: > But the issue is still occurring for me, even though I dropped the > *plpython2u* extension and functions which were using the it. Look through pg_proc for entries mentioning plpython2 in probin, ie select proname from pg_proc where probin like '%plpython2%'; Another possibility is that you added plpython2 to shared_preload_libraries or one of its sibling settings. regards, tom lane