Re: Bizarre 7.3.2 bug - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Bizarre 7.3.2 bug
Date
Msg-id 1050979463.382.7.camel@tokyo
Whole thread Raw
In response to Bizarre 7.3.2 bug  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: Bizarre 7.3.2 bug
Re: Bizarre 7.3.2 bug
List pgsql-hackers
On Mon, 2003-04-21 at 22:23, Christopher Kings-Lynne wrote:
> usa=# select ''::integer;
> ERROR:  pg_atoi: zero-length string

> australia=# select ''::integer;
> WARNING:  pg_atoi: zero-length string
>  int4
> ------
>     0
> (1 row)
> 
> What the???

Looks like the FreeBSD maintainer (you know who you are, seanc :-) ) has
decided to be clever:


http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/postgresql7/files/patch-src%3a%3abackend%3a%3autils%3a%3aadt%3a%3anumutils.c?rev=1.1&content-type=text/x-cvsweb-markup

Frankly, this is exactly the kind of modification that distributions
should *not* be making, IMHO.

Cheers,

Neil



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Bizarre 7.3.2 bug
Next
From: Larry Rosenman
Date:
Subject: Re: Bizarre 7.3.2 bug