From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve coverage of utils/float.h |
Date: | 2019-08-28 03:29:23 |
Message-ID: | E1i2oeB-0000Qs-Sl@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-08-28 03:38:28 | Re: pgsql: Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET. |
Previous Message | Michael Paquier | 2019-08-28 02:50:25 | pgsql: Disable timeouts when running pg_rewind with online source clust |