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 1t6ZIH-00DtYM-Dg for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Oct 2024 17:49:13 +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 1t6ZIF-004CJ3-8R for pgsql-bugs@arkaria.postgresql.org; Thu, 31 Oct 2024 17:49:11 +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 1t6ZIF-004CIv-06 for pgsql-bugs@lists.postgresql.org; Thu, 31 Oct 2024 17:49:11 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t6ZIC-0042WK-Q6 for pgsql-bugs@lists.postgresql.org; Thu, 31 Oct 2024 17:49:10 +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 49VHmmjY1156375; Thu, 31 Oct 2024 13:48:48 -0400 From: Tom Lane To: Heikki Linnakangas cc: =?UTF-8?Q?Bastien_Roucari=C3=A8s?= , pgsql-bugs@lists.postgresql.org Subject: Re: Detection of hadware feature => please do not use signal In-reply-to: References: <4496616.iHFcN1HehY@portable-bastien> Comments: In-reply-to Heikki Linnakangas message dated "Thu, 31 Oct 2024 19:29:45 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1156373.1730396928.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Thu, 31 Oct 2024 13:48:48 -0400 Message-ID: <1156374.1730396928@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Heikki Linnakangas writes: > On 31/10/2024 17:41, Bastien Roucariès wrote: >> Could you use the canonical way under linux > We used to do that, but it was changed in commit 1c72ec6f. Looking at > the discussion that led to it, it's not clear to me why we switched [1]. The complaint was precisely that it would not work under non-linux. Maybe we could do it one way on linux and the other way everywhere else, but I do not find that attractive; it just makes it harder to get full test coverage. regards, tom lane