Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qREot-0010Qy-V0 for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Aug 2023 16:35:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qREos-006Wde-5F for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Aug 2023 16:35:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qREor-006WdW-SE for pgsql-hackers@lists.postgresql.org; Wed, 02 Aug 2023 16:35:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qREol-000AsS-QA for pgsql-hackers@lists.postgresql.org; Wed, 02 Aug 2023 16:35:29 +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 372GZJiP3281520; Wed, 2 Aug 2023 12:35:19 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@lists.postgresql.org Subject: Re: SIGQUIT handling, redux In-reply-to: <20230802162550.6d6ya6k2djpoxplb@awork3.anarazel.de> References: <1850884.1599601164@sss.pgh.pa.us> <20200909192620.dylomoxknmt6rdb3@alap3.anarazel.de> <110116.1599682140@sss.pgh.pa.us> <113530.1599684626@sss.pgh.pa.us> <116384.1599688841@sss.pgh.pa.us> <141736.1599693895@sss.pgh.pa.us> <320251.1599792006@sss.pgh.pa.us> <394091.1599839575@sss.pgh.pa.us> <20230802162550.6d6ya6k2djpoxplb@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 02 Aug 2023 09:25:50 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3281518.1690994119.1@sss.pgh.pa.us> Date: Wed, 02 Aug 2023 12:35:19 -0400 Message-ID: <3281519.1690994119@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2020-09-11 11:52:55 -0400, Tom Lane wrote: >> It's simple enough that maybe we could back-patch it, once it's >> aged awhile in HEAD. OTOH, given the lack of field reports of >> trouble here, I'm not sure back-patching is worth the risk. > FWIW, looking at collected stack traces in azure, there's a slow but steady > stream of crashes below StartupPacketTimeoutHandler. ... > Unsurprisingly just in versions before 14, where this change went in. > I think that might be enough evidence for backpatching the commit? I've not > heard of issues due to the checks in check_on_shmem_exit_lists_are_empty(). I'd be willing to take a look at this in a few weeks when $real_life is a bit less demanding. Right before minor releases would likely be a bad idea anyway. regards, tom lane