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.96) (envelope-from ) id 1w0Nfi-001rG7-16 for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Mar 2026 17:48:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w0Nfg-00AdnX-2D for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Mar 2026 17:48:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w0Nff-00AdnP-2P for pgsql-hackers@lists.postgresql.org; Wed, 11 Mar 2026 17:48:36 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w0Nfe-00000001e0t-0tKi for pgsql-hackers@lists.postgresql.org; Wed, 11 Mar 2026 17:48:35 +0000 Received: from phl-compute-12.internal (phl-compute-12.internal [10.202.2.52]) by mailfhigh.stl.internal (Postfix) with ESMTP id DCCB97A013B; Wed, 11 Mar 2026 13:48:32 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Wed, 11 Mar 2026 13:48:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1773251312; x=1773337712; bh=arBjF5COwp lkhb3rWErIsRPaJ970nFfn4nwJEMWXJiE=; b=mUveJ6wEUOMsfIV/3cI3WwFKTh XkXphpnIIemB5ql9l7XFabsuUbnak8MRbCKR7G7/7R60f2qbYw1ZO/tevsOXej7j wZZK/OvrIk2+ezWxwcdLnLtdsnaqsjsT4aTHGcvzu5L1iOUXHcAQRyYDNX2FV/TR fZpDZL0V9tDLGqBctm86ecA3ZgRO0IemPqbpj2ZI6p33O+rkhVxz7ZHoPnd1BOCV xG3hg9GdlSCBPdAoIMogVs5CJrgrD1CSNvR6sTCjSK7JUCgU9LskHCyey8o+Vrm5 CX2O8EPp8TrJdCCq8bjQd7yMxwFcc/cExebObYFlQUYCxu5hGwkTG9FGulxA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1773251312; x=1773337712; bh=arBjF5COwplkhb3rWErIsRPaJ970nFfn4nw JEMWXJiE=; b=Wvk8TF6z6WkVF6/kiaqrjWalkuyJ15fDwi5bGajdFl+vnAY/xZ6 sNLmRsmIk1HmREZB4xZPobwJP4WblvFjiTXU5hc+d3xOfaOcWZEQZYcVIsSxju+R Im5jqWCR7jzxSGXeA9txoC70Xx0EzLxpu4c9Tj6p4p368rwqlMCtJ8ju0P8hCQVb YsAZl+W78M8pi1Ejr34tiFg0NOPqDmOfckttzxg4SrWFkzHujjuYsKUs1kutjvBt C8SKG6WxCFFJ1cskSKg/XWFUXsmfpeBIPpYpgdnD+ZJQ+aMgiazaNWvjF8SWB9X6 onXPLmEsSSWs21+gE2pio4MLRNTRTNxxCWg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvkeegheegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtsfdttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnhepfeffgfelvdffgedtveelgfdtgefghfdvkefggeetieevjeekteduleevjefh ueegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hnughrvghssegrnhgrrhgriigvlhdruggvpdhnsggprhgtphhtthhopeegpdhmohguvgep shhmthhpohhuthdprhgtphhtthhopehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh dprhgtphhtthhopegsvghrthhrrghnuggurhhouhhvohhtrdhpghesghhmrghilhdrtgho mhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrh gvshhqlhdrohhrghdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhprgdruhhs X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Mar 2026 13:48:32 -0400 (EDT) Date: Wed, 11 Mar 2026 13:48:31 -0400 From: Andres Freund To: Tom Lane Cc: Bertrand Drouvot , Peter Eisentraut , pgsql-hackers@lists.postgresql.org Subject: Re: Defend against -ffast-math in meson builds Message-ID: References: <3316.1773242385@sss.pgh.pa.us> <3583.1773247555@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3583.1773247555@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-03-11 12:45:55 -0400, Tom Lane wrote: > So no, I don't wanna support this. But maybe we should move the > code-level tests out of the datetime files and into utils/float.h > or some such place. I think it's probably better to have it in a .c file (maybe float.c), I could kinda imagine some extension intentionally enabling -ffast-math, because it does something numerically intensive where the incorrectness doesn't matter. Greetings, Andres Freund