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 1o4Vit-00088b-II for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Jun 2022 22:54:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o4Vir-0003Js-8u for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Jun 2022 22:54:49 +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 1o4Vir-0003JX-01 for pgsql-hackers@lists.postgresql.org; Thu, 23 Jun 2022 22:54:49 +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 1o4Vio-0006uv-Sv for pgsql-hackers@lists.postgresql.org; Thu, 23 Jun 2022 22:54:47 +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 25NMshP2134012; Thu, 23 Jun 2022 18:54:43 -0400 From: Tom Lane To: Markus Wanner cc: Peter Eisentraut , exclusion@gmail.com, pgsql-hackers@lists.postgresql.org Subject: Re: fix crash with Python 3.11 In-reply-to: References: <3375ffd8-d71c-2565-e348-a597d6e739e3@enterprisedb.com> <3890110.1642373624@sss.pgh.pa.us> <73daabb7-9fc7-fb7a-5e06-a968c611b032@enterprisedb.com> <2255118.1643126084@sss.pgh.pa.us> <1103370.1644273481@sss.pgh.pa.us> <1216692.1645644682@sss.pgh.pa.us> <1533956.1645731245@sss.pgh.pa.us> <3027328.1655829211@sss.pgh.pa.us> <3922716.1655991297@sss.pgh.pa.us> Comments: In-reply-to Markus Wanner message dated "Thu, 23 Jun 2022 21:57:07 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <134010.1656024883.1@sss.pgh.pa.us> Date: Thu, 23 Jun 2022 18:54:43 -0400 Message-ID: <134011.1656024883@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Markus Wanner writes: > On 6/23/22 15:34, Tom Lane wrote: >> Under what circumstances would it be OK for outside code to call >> SPICleanup? > For the same reasons previous Postgres versions called SPICleanup: from > a sigsetjmp handler that duplicates most of what Postgres does in such a > situation. Does such code exist? I don't see any other calls in Debian code search, and I find it hard to believe that anyone would think such a thing is maintainable. regards, tom lane