Re: numeric input changes

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: numeric input changes
Date: 2004-03-11 02:14:17
Message-ID: 87ptbkqgee.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2004-03-11 02:16:46 Re: numeric input changes
Previous Message Neil Conway 2004-03-11 02:11:43 Re: change output of \dp