pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix pgbench permute tests.
Date: Wed, 19 May 2021 11:57:00 +0000
Message-ID: <E1ljKou-0000tW-Fe@gemulon.postgresql.org> (raw)

Fix pgbench permute tests.

One of the tests for the pgbench permute() function added by
6b258e3d68 fails on some 32-bit platforms, due to variations in the
floating point computations in getrand(). The remaining tests give
sufficient coverage, so just remove the failing test.

Reported by Christoph Berg. Analysis by Thomas Munro and Tom Lane.
Based on patch by Fabien Coelho.

Discussion: https://postgr.es/m/YKQnUoYV63GRJBDD@msg.df7cb.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0f516d039d8023163e82fa51104052306068dd69

Modified Files
--------------
src/bin/pgbench/t/001_pgbench_with_server.pl | 11 -----------
1 file changed, 11 deletions(-)



Message-ID: <E1ljKou-0000tW-Fe@gemulon.postgresql.org>
Permalink:  ../E1ljKou-0000tW-Fe@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ljKou-0000tW-Fe@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dean.a.rasheed@gmail.com
  Subject: Re: pgsql: Fix pgbench permute tests.
  In-Reply-To: <E1ljKou-0000tW-Fe@gemulon.postgresql.org>
  References: <E1ljKou-0000tW-Fe@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox