diff options
author | Neil Conway <neilc@samurai.com> | 2004-03-11 02:11:14 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2004-03-11 02:11:14 +0000 |
commit | e2ded829f6b672529d072620e43de65466286b59 (patch) | |
tree | 9ffc21ade136f5e667fb41dbd2e8b1c56436b3e5 /src/backend/utils/adt/numeric.c | |
parent | 0b86ade1c2f3dcd2407e535baad1654e65252316 (diff) | |
download | postgresql-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