You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2003/07/02 06:01:38 UTC
Re: Recordset: make test error with latest Postgres
>
> Recordset make test fails with Postgres 7.3 on 'select multiple fields
> 2', error log attached. It used to work before, it seems Postgres' type
> convertion rules are more restrictive... In error log Recordset says
> 'bind_types=1 4' and then Postgres complaints about atoi - new version
> of Postgres wouldn't accept empty string for integer field... could this
> be the reason?
>
Yes, seems so. Go to Compat.pm and tell it that 4 is a numeric type. This
should fix the problem
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Recordset: make test error with latest Postgres
Posted by Robert <ro...@robert.cz>.
Gerald Richter wrote:
>> Recordset make test fails with Postgres 7.3 on 'select multiple fields
>>2', error log attached. It used to work before, it seems Postgres' type
>>convertion rules are more restrictive... In error log Recordset says
>>'bind_types=1 4' and then Postgres complaints about atoi - new version
>>of Postgres wouldn't accept empty string for integer field... could this
>>be the reason?
>>
>>
>
>Yes, seems so. Go to Compat.pm and tell it that 4 is a numeric type. This
>should fix the problem
>
>
I did the trick, now make test pass all test with success. Thanks.
- Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org