pgsql: Stabilize regression test result.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Stabilize regression test result.
Date: 2018-03-25 04:09:35
Message-ID: E1ezwyN-0000M1-Ri@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-03-25 04:46:46 pgsql: Add #includes missed in commit e22b27f0cb3ee03ee300d431997f5944c
Previous Message Tom Lane 2018-03-25 03:44:32 pgsql: Mop-up for commit feb8254518752b2cb4a8964c374dd82d49ef0e0d.