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 1rOomd-007JdB-4g for pgsql-bugs@arkaria.postgresql.org; Sun, 14 Jan 2024 00:55:28 +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 1rOomb-00AD2J-Ih for pgsql-bugs@arkaria.postgresql.org; Sun, 14 Jan 2024 00:55:25 +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.94.2) (envelope-from ) id 1rOomZ-00AD2B-UM for pgsql-bugs@lists.postgresql.org; Sun, 14 Jan 2024 00:55:25 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rOomW-001Pwm-5G for pgsql-bugs@lists.postgresql.org; Sun, 14 Jan 2024 00:55:22 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C8BB85C00FF; Sat, 13 Jan 2024 19:55:18 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 13 Jan 2024 19:55:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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=fm2; t=1705193718; x=1705280118; bh=kzcqeGfzr0 lOPNjie57MpYq6TrrQ2wtU+1aYMGxn2K0=; b=o6ZBGtvZDN/rJmPPke/qCf/p0b zjhAFUVOMyPyJvaiXaAPMhM7gfk0dfM4P1QpjuiTsVFz4+XkjnxEZU88BBlSDZi7 9cmVShLp0r/Xmy59BmHLAKblNJGapHosJ0Ro207vQCqu231+nF3c8d4YhZS1o3xt 4HILFRMAjwoJ3D5shK+L2l5h3FW3obOlIiPJ2Lt99pYL+UU0Y4CBZWZrMIn2E+p0 qo2LNQ9B69I2avQW4LmuWmdt1qo+HuBqoL4VjggG5EjZ73IacDbSw+VbjIXuBlNU aWF1jk1staDftQfEvzQCa8HJeF1pkZNzy9EJPuVBCeI1Zx80N+crsE3nmZbg== 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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1705193718; x=1705280118; bh=kzcqeGfzr0lOPNjie57MpYq6TrrQ 2wtU+1aYMGxn2K0=; b=YVMgT7nWEjEG93MRIeg6Rj0+hMZpRtsle9PtGnr4+YrY 0CR/BEXX8cbRQDIvCoy//UNJzdjrK/KmLG+uFbV39jLK/Zzxc1g+YDFidc/bEbmY qi0teY+IiBq/bGRLrrbqmg5VEfnVe+zzlwL/6uZaCfaYfLZ5BqsxejwTziF361bB vW2hO3clKm2R4UynB4UUeh9z6BJoIAusts3yA6FFctXkE4yb9nqAVW9eX/kh8mBl ScvdGA/+C01erMfpeFl/RdF2UTrWpPjnfWAbGDVtNVR2v+T7coXAL0qFZRD0ec6s 9j3I6b6BdJw2puIQIrcDRibrDi1jIIVLA36vp2HNhg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeikedgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 13 Jan 2024 19:55:16 -0500 (EST) Date: Sun, 14 Jan 2024 09:55:03 +0900 From: Michael Paquier To: "Jonathan S. Katz" Cc: Tom Lane , David Rowley , exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends Message-ID: References: <3453263.1702739958@sss.pgh.pa.us> <1673413.1703442075@sss.pgh.pa.us> <1851211.1703519939@sss.pgh.pa.us> <9115f2e8-8dde-4545-868c-9becb2260aef@postgresql.org> <484395.1705077198@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aYVDmcKZ2ssthnbo" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --aYVDmcKZ2ssthnbo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 12, 2024 at 10:50:25PM -0500, Jonathan S. Katz wrote: > On 1/12/24 11:33 AM, Tom Lane wrote: >> What'd have to happen is that people would have to upgrade to a >> version of btree_gin/btree_gist that deletes its money support >> before they could pg_upgrade into a core version that lacks money. >> So we'd have to ship that version at least one major release before >> nuking the core support. >=20 > Hm -- what about people who skip versions (e.g. 16 =3D> 19)? Would they h= ave > to stop at 18 first to perform the upgrade? And does this only affect peo= ple > who use btree_gist/gin for moeny, or all btree_gist/gin users? That's exactly why I am worried about a schedule being too aggressive here. Less runs of pg_upgrade means less headaches and less downtime. I'd guess that we should have at least 3~4 years between a deprecation in the docs and the actual removal. It seems like this is what we should do now on HEAD, aiming at a complete removal in 21~22 when 17 gets out of support (even if pg_upgrade support is down to 10 years). >> v19: remove it from core >>=20 >> Note that in v18, people could still use money even in >> btree_gin/btree_gist, just by installing a non-default extension >> version. So their C code for money would have to stay. >=20 > Yeah, but for what we support directly in PostgreSQL, we will have made b= est > effort. If someone _really_ wants to do something with "money" in the way > you describe above, then they're committed to it. By the way, let me know if you have any objections about the patch I have posted upthread that reduces the dependency to money in the main regression test suite, replacing things with varbit while keeping coverage the same. I have a few second thoughts about the change in create_table, so I'm tempted to leave that part out for now, switching the rest. -- Michael --aYVDmcKZ2ssthnbo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmWjMOcACgkQnvQgOdby QH0VIQ/+P/sLIN5PqQBjtsNQ6QO529GaHfLMV29O3mZRpEQ4+dOdwGP9dObjvJz0 i3+Q3a6hHg0BdJNfYcLHvGkSvJbqGwPkNqRy9IF1uCioR62JcZrYKyeZsioK0m7X cchuj4haBH0pF29OV/itNYEe6jDO4U4JjeH1kihMGj8Ag6jsmRE+rhrstREr7xg7 eCAKUZFQI+QVR0A4B2xRZUyDKmsEDOPsRu6Vt/KRF1F7BBipOL8pDQreAQRS+kbg Bfferhht6CKpFMcO9ZHMB/UWF/OSRwUP8pxgX2Ccc8mt5AJUIJDH22DQcQKcv8/Q mRdNh4Blx89+4Y5CiofPjxJgYXXTVh/nNZnQ0pHEzeRLlJTne4xU9vo+Fk+fUSiv 6t5WEThWHkDrkr3MGmqZFJ0vp/uIu4FnGB+ATdG6wZWpFcVXjnUQB3k3GF4YbD7R Tw0VZgn6EjcnJTq5AGjLMLp03P4+cgBi5s8DReEDLC/w37bm6oXrX68ikuAZHcMO f+p5q9+8dGpZHEzZbR1nctg7jZEMxUtcgkld4PbgGGzHjNMUhiITGhFiH11EOtyo 5oCF0ZaCHri1+9phc26GyWlp1om6oe8e2Zfir2TWzcVhRZbKDCI1erahQabAQoDm ZdEI7FXIBepGJ9VespOGvjIplSaL1JXugRXX51CeVV9Dbg80NP4= =sIwq -----END PGP SIGNATURE----- --aYVDmcKZ2ssthnbo--