Neil Conway <neilc(at)samurai(dot)com> writes:
> The attached patch changes the rules for input to
> int2/int4/int8/float4/float8 to consistently allow leading and
> trailing whitespace in the input.
I've attached a slightly revised version of the patch, which I've
applied to CVS HEAD. I realized that pg_atoi() can be implemented more
simply -- that's the only change. Also, I decided to apply the patch
tonight, so that I can get started on the float4/float8 Infinity
stuff more easily.
-Neil