Introduce float4in_internal
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 21 Dec 2022 13:37:17 +0000 (08:37 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 21 Dec 2022 21:55:52 +0000 (16:55 -0500)
commit33dd895ef3316bd1896def6882e9075359d7e9af
treeebb480514853daab160668252c8baf4f0d9fbd4c
parenteb706fde8302c32267518663032905556db21f57
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
src/backend/utils/adt/float.c
src/include/utils/float.h