Use sprintf() to convert float8 to a string during conversion to numeric.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 4 May 1999 15:50:24 +0000 (15:50 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 4 May 1999 15:50:24 +0000 (15:50 +0000)
commit84e832a8027354c6c583e837a80fba64bf83298d
tree79f28c60e85cbeede786295c90e6f2dcf0a8be11
parent54067db6426a9c515d01e6a6c228bf9f8e56199a
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