Re: pgbench test failing on 14beta1 on Debian/i386

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christoph Berg <myon(at)debian(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Subject: Re: pgbench test failing on 14beta1 on Debian/i386
Date: 2021-05-18 23:40:59
Message-ID: CA+hUKGJri_OK6VSk56NVOyfYRKOQs1B6nDpCUPo12jiRxJ1Jsw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 19, 2021 at 11:34 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> I don't understand any of this stuff at all, but I added a bunch of
> printfs and worked out that the first point its local variables
> diverge is here:
>
> /* Random offset */
> r = (uint64) getrand(&random_state2, 0, size - 1);

Forgot to post the actual values:

r = 2563421694876090368
r = 2563421694876090365

Smells a bit like a precision problem in the workings of pg_erand48(),
but as soon as I saw floating point numbers I closed my laptop and ran
for the door.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-05-18 23:42:08 Subscription tests fail under CLOBBER_CACHE_ALWAYS
Previous Message Thomas Munro 2021-05-18 23:34:30 Re: pgbench test failing on 14beta1 on Debian/i386