maxim(dot)boguk(at)gmail(dot)com writes:
> select '6.5397686164648e-309'::double precision;
> ERROR: "6.5397686164648e-309" is out of range for type double precision
This is fixed in 9.2 and up.
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=c318aeed84438619fc6b8c647def1730a110f04b
regards, tom lane