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