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.
BTW, did you look at type "numeric"? Or is that okay already?
regards, tom lane