pgsql: Introduce float4in_internal - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Introduce float4in_internal
Date
Msg-id E1p878Z-004mH4-Nq@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Introduce float4in_internal

This is the guts of float4in, callable as a routine to input floats,
which will be useful in an upcoming patch for allowing soft errors in
the seg module's input function.

A similar operation was performed some years ago for float8in in
commit 50861cd683e.

Reviewed by Tom Lane

Discussion: https://postgr.es/m/cee4e426-d014-c0b7-aa22-a659f2cd9130@dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/33dd895ef3316bd1896def6882e9075359d7e9af

Modified Files
--------------
src/backend/utils/adt/float.c | 57 +++++++++++++++++++++++++++++++------------
src/include/utils/float.h     |  3 +++
2 files changed, 45 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Fix newly introduced bug in slab.c
Next
From: Tom Lane
Date:
Subject: pgsql: Fix contrib/seg to be more wary of long input numbers.