Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "Jonathan S. Katz" <jkatz@postgresql.org>, David Rowley <dgrowleyml@gmail.com>, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2023-12-25T09:57:57Z
Lists: pgsql-bugs
On Mon, Dec 25, 2023 at 09:52:53AM +0900, Michael Paquier wrote: > At least the infra to be able to achieve that should be here. Looking at that, I can see that Peter has added a few tests to test the predictability of plans generated with non-hashable types, and that these are based on money. See 6dd8b0080787. One possible pick to replace money for these tests is tsvector, that cannot be hashed and has an equality operator. Perhaps these had better be replaced anyway? -- Michael
Commits
-
Add overflow checks to money type.
- e8dfe0430fad 14.13 landed
- c5321e9651c5 13.16 landed
- b82791c8fc2c 15.8 landed
- 4f962815871f 12.20 landed
- 3764ee47f78c 17.0 landed
- 34e9dce69c46 16.4 landed
- 22b0ccd65d27 18.0 landed
-
Reduce dependency to money data type in main regression test suite
- 31acee4b66f9 17.0 landed