Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iQAd2-0000hk-Lc for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Oct 2019 13:36:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iQAd0-0005l2-V5 for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Oct 2019 13:36:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iQAd0-0005kr-MH for pgsql-hackers@lists.postgresql.org; Thu, 31 Oct 2019 13:36:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iQAcu-0001if-0t for pgsql-hackers@postgresql.org; Thu, 31 Oct 2019 13:36:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x9VDaULJ015317; Thu, 31 Oct 2019 09:36:30 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: Remove configure --disable-float4-byval and --disable-float8-byval In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Thu, 31 Oct 2019 09:50:16 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15315.1572528990.1@sss.pgh.pa.us> Date: Thu, 31 Oct 2019 09:36:30 -0400 Message-ID: <15316.1572528990@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > float4 is now always pass-by-value; the pass-by-reference code path is > completely removed. I think this is OK. > float8 and related types are now hardcoded to pass-by-value or > pass-by-reference depending on whether the build is 64- or 32-bit, as > was previously also the default. I'm less happy with doing this. It makes it impossible to test the pass-by-reference code paths without actually firing up a 32-bit environment. It'd be fine to document --disable-float8-byval as a developer-only option (it might be so already), but I don't want to lose it completely. I fail to see any advantage in getting rid of it, anyway, since we do still have to maintain both code paths. regards, tom lane