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 1oCLN0-0005W0-Qi for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jul 2022 13:28:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oCLMz-0006zP-H5 for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jul 2022 13:28:37 +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 1oCLMz-0006wg-7J for pgsql-hackers@lists.postgresql.org; Fri, 15 Jul 2022 13:28:37 +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 1oCLMs-0007ve-ME for pgsql-hackers@lists.postgresql.org; Fri, 15 Jul 2022 13:28:36 +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 26FDSPvk3353398; Fri, 15 Jul 2022 09:28:25 -0400 From: Tom Lane To: Thomas Munro cc: Alvaro Herrera , Andres Freund , Pg Hackers Subject: Re: EINTR in ftruncate() In-reply-to: References: <20220714144652.jph7exiywushg4gc@alvherre.pgsql> <2835511.1657812444@sss.pgh.pa.us> <3153247.1657834482@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Fri, 15 Jul 2022 16:19:10 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3353396.1657891705.1@sss.pgh.pa.us> Date: Fri, 15 Jul 2022 09:28:25 -0400 Message-ID: <3353397.1657891705@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > On Fri, Jul 15, 2022 at 9:34 AM Tom Lane wrote: >> (Someday we oughta go ahead and make our Windows signal API look more >> like POSIX, as I suggested back in 2015. I'm still not taking >> point on that, though.) > For the sigprocmask() part, here's a patch that passes CI. Only the > SIG_SETMASK case is actually exercised by our current code, though. Passes an eyeball check, but I can't actually test it. regards, tom lane