aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-02-24 01:59:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-02-24 01:59:17 +0000
commit512669db9ee465cf3b2bf9c8817381696aa7c5fb (patch)
tree4eed7ed158dcfc3c4537f9b4a4668ebea0ad48e9 /src/backend/utils/adt/numeric.c
parent399a570fe269d7a2773b7f975caad4003e781982 (diff)
downloadpostgresql-512669db9ee465cf3b2bf9c8817381696aa7c5fb.tar.gz
postgresql-512669db9ee465cf3b2bf9c8817381696aa7c5fb.zip
Make make_const() check the size and precision of a T_Float Value,
and produce either FLOAT8 or NUMERIC output depending on whether the value fits in a float8 or not. This is almost back to the way the code was before I changed T_Float, but there is a critical difference: now, when a numeric constant doesn't fit in float8, it will be treated as type NUMERIC instead of type UNKNOWN.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions