aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-03-11 02:11:14 +0000
committerNeil Conway <neilc@samurai.com>2004-03-11 02:11:14 +0000
commite2ded829f6b672529d072620e43de65466286b59 (patch)
tree9ffc21ade136f5e667fb41dbd2e8b1c56436b3e5 /src/backend/utils/adt/numeric.c
parent0b86ade1c2f3dcd2407e535baad1654e65252316 (diff)
downloadpostgresql-e2ded829f6b672529d072620e43de65466286b59.tar.gz
postgresql-e2ded829f6b672529d072620e43de65466286b59.zip
Revise int2/int4/int8/float4/float8 input routines to allow for
any amount of leading or trailing whitespace (where "whitespace" is defined by isspace()). This is for SQL conformance, as well as consistency with other numeric types (e.g. oid, numeric). Also refactor pg_atoi() to avoid looking at errno where not necessary, and add a bunch of regression tests for the input to these types.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions