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 1o3goz-0005ev-Uc for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Jun 2022 16:33:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o3gox-00014A-KZ for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Jun 2022 16:33:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3gox-000141-BV for pgsql-hackers@lists.postgresql.org; Tue, 21 Jun 2022 16:33:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3goq-0003gi-Fq for pgsql-hackers@lists.postgresql.org; Tue, 21 Jun 2022 16:33:42 +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 25LGXV9M3027329; Tue, 21 Jun 2022 12:33:32 -0400 From: Tom Lane To: Peter Eisentraut cc: exclusion@gmail.com, pgsql-hackers@lists.postgresql.org Subject: Re: fix crash with Python 3.11 In-reply-to: <1533956.1645731245@sss.pgh.pa.us> 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> Comments: In-reply-to Tom Lane message dated "Thu, 24 Feb 2022 14:34:05 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3027327.1655829211.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Jun 2022 12:33:31 -0400 Message-ID: <3027328.1655829211@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Is it time yet to back-patch 2e517818f ("Fix SPI's handling of errors during transaction commit")? We know we're going to have to do it before Python 3.11 ships, and it's been stable in HEAD for 3.5 months now. Also, the Fedora guys absorbed the patch a couple weeks ago [1] because they're already using 3.11 in rawhide, and I've not heard complaints from that direction. My inclination at this point is to not back-patch the second change 12d768e70 ("Don't use static storage for SaveTransactionCharacteristics"). It's not clear that the benefit would be worth even a small risk of somebody being unhappy about the API break. regards, tom lane [1] https://www.postgresql.org/message-id/flat/CA%2BHKMWMY_e2otmTJDjKUAvC8= Urh4rzSWOPZ%3DfszU5brkBP97ng%40mail.gmail.com