Re: ecpg help with 7.3 - Mailing list pgsql-general

From Tom Lane
Subject Re: ecpg help with 7.3
Date
Msg-id 21384.1043829700@sss.pgh.pa.us
Whole thread Raw
In response to ecpg help with 7.3  ("Sid" <sbhatt@installs.com>)
List pgsql-general
"Sid" <sbhatt@installs.com> writes:
> Cannot Insert in table xyz(-400):50 'ERROR: pg_atoi: zero-length string'
> my first guess was that there was a zero length string (NULL) being inserted
> in the table...

A zero-length string is not a NULL (even if Oracle can't tell the
difference).

Before 7.3, pg_atoi (the integer datatype's input converter) would
sloppily accept a zero-length string as meaning 0 (not NULL).  We
fixed that ...

            regards, tom lane

pgsql-general by date:

Previous
From: "Enrico Comini"
Date:
Subject: 7.3.1 Binary RPM
Next
From: Oleg Bartunov
Date:
Subject: Re: tsearch comments