Re: Bizarre 7.3.2 bug

From: Neil Conway <neilc(at)samurai(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bizarre 7.3.2 bug
Date: 2003-04-22 02:44:23
Message-ID: 1050979463.382.7.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-04-22 02:57:17 Re: Bizarre 7.3.2 bug
Previous Message Christopher Kings-Lynne 2003-04-22 02:23:01 Bizarre 7.3.2 bug