Re: pgbench test failing on 14beta1 on Debian/i386
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Thomas Munro <thomas.munro@gmail.com>, Christoph Berg <myon@debian.org>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Dean Rasheed <dean.a.rasheed@gmail.com>
Date: 2021-05-19T07:27:54Z
Lists: pgsql-hackers
On Wed, May 19, 2021 at 09:06:16AM +0200, Fabien COELHO wrote: > I see two simple approaches: > > (1) use another PRNG inside pgbench, eg Knuth's which was used in some > previous submission and is very simple and IMHO better than the rand48 > stuff. > > (2) extend pg_*rand48() to provide an unsigned 64 bits out of the 48 bits > state. Or, (3) remove this test? I am not quite sure what there is to gain with this extra test considering all the other tests with permute() already present in this script. -- Michael
Commits
-
Fix pgbench permute tests.
- 0f516d039d80 14.0 landed
-
pgbench: Function to generate random permutations.
- 6b258e3d688d 14.0 cited