Use sprintf() to convert float8 to a string during conversion to numeric.
authorThomas G. Lockhart <lockhart@alumni.caltech.edu>
Tue, 4 May 1999 15:50:24 +0000 (15:50 +0000)
committerThomas G. Lockhart <lockhart@alumni.caltech.edu>
Tue, 4 May 1999 15:50:24 +0000 (15:50 +0000)
commitf797ff12d0cd4556d6d2968c744734d4b89c76db
tree380ea91cb4971ab84e769bd4fb0edb06c95035fa
parent5e42ad52c7c9fe5f8a490a092bbab4d741d086f7
Use sprintf() to convert float8 to a string during conversion to numeric.
Original code used float8out(), but the resulting exponential notation
 was not handled (e.g. '3E9' was decoded as '3').
src/backend/utils/adt/numeric.c