Re: numeric input changes - Mailing list pgsql-patches

From Neil Conway
Subject Re: numeric input changes
Date
Msg-id 87ptbkqgee.fsf@mailbox.samurai.com
Whole thread Raw
In response to numeric input changes  (Neil Conway <neilc@samurai.com>)
Responses Re: numeric input changes
List pgsql-patches
Neil Conway <neilc@samurai.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


pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: change output of \dp
Next
From: Neil Conway
Date:
Subject: Re: numeric input changes