pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Stabilize regression test result.
Date: Sun, 25 Mar 2018 04:09:35 +0000
Message-ID: <E1ezwyN-0000M1-Ri@gemulon.postgresql.org> (raw)

Stabilize regression test result.

If random() returns a result sufficiently close to zero, float8out
switches to scientific notation, breaking this test case's expectation
that the output should look like '0.xxxxxxxxx'.  Casting to numeric
should fix that.  Per buildfarm member pogona.

Discussion: https://postgr.es/m/20180324212502.wt4serghfidge2on@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/038a2ed1392363a59adeee4e86d848ca74ce39c5

Modified Files
--------------
src/test/regress/expected/create_procedure.out | 2 +-
src/test/regress/sql/create_procedure.sql      | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



Message-ID: <E1ezwyN-0000M1-Ri@gemulon.postgresql.org>
Permalink:  ../E1ezwyN-0000M1-Ri@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ezwyN-0000M1-Ri@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Stabilize regression test result.
  In-Reply-To: <E1ezwyN-0000M1-Ri@gemulon.postgresql.org>
  References: <E1ezwyN-0000M1-Ri@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