pgsql: Improve coverage of utils/float.h

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Improve coverage of utils/float.h
Дата
Msg-id E1i2oeB-0000Qs-Sl@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Disable timeouts when running pg_rewind with online sourceclust
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET.