pgsql: Improve coverage of utils/float.h - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Improve coverage of utils/float.h
Date
Msg-id E1i2oeB-0000Qs-Sl@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve coverage of utils/float.h

check_float4_val() checks after underflow and overflow of values
converted from float8 to float4, but there has never been any regression
tests for that.  This brings the coverage of float.h to 100%.

Author: Movead Li
Discussion: https://postgr.es/m/20190822174636998766188@highgo.ca

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/80d0e5ba3fe03890831b425e85d10150e226239e

Modified Files
--------------
src/test/regress/expected/float4-misrounded-input.out | 8 ++++++++
src/test/regress/expected/float4.out                  | 8 ++++++++
src/test/regress/sql/float4.sql                       | 5 +++++
3 files changed, 21 insertions(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Disable timeouts when running pg_rewind with online sourceclust
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET.