From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Introduce float4in_internal |
Date: | 2022-12-21 22:00:32 |
Message-ID: | E1p878Z-004mH4-Nq@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-12-21 22:52:06 | pgsql: Fix contrib/seg to be more wary of long input numbers. |
Previous Message | David Rowley | 2022-12-21 20:58:46 | pgsql: Fix newly introduced bug in slab.c |