Peter Eisentraut <peter_e@gmx.net> writes:
> The following, however, appears to be a bug:
> peter=# select '1E-324'::float8;
> ERROR: 22P02: invalid input syntax for type double precision: "1E-324"
> LOCATION: float8in, float.c:431
I see this behavior on Fedora 9, but not on HPUX. Investigation shows
that F9's strtod returns EDOM not ERANGE for this case. Seems like a
glibc bug ...
regards, tom lane