Re: Overflow hazard in pgbench
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2021-06-29T09:47:11Z
Lists: pgsql-hackers
>> The failure still represents a gcc bug, because we're using -fwrapv which >> should disable that assumption. > > Ok, I'll report it. Done at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101254 -- Fabien.
Commits
-
Don't depend on -fwrapv semantics in pgbench's random() function.
- 01697e92a460 15.0 landed
- be567deb3ac9 13.4 landed
- 3fd334795e26 12.8 landed
- 203c5aaaba56 14.0 landed