Re: implicit casting problem - Mailing list pgsql-general

From Tom Larard
Subject Re: implicit casting problem
Date
Msg-id Pine.GSO.4.21.0411111415200.23470-100000@blade71.cs.umb.edu
Whole thread Raw
In response to implicit casting problem  (Tom Larard <larard@cs.umb.edu>)
List pgsql-general
Fixed, this was a problem with weakly typed languages such as perl,
sometime it doesn't know what SQL_TYPE to send, so it sends
SQL_VARCHAR.

The solution is to use
bind_param(<placeholder_number>,<value>,DBI::SQL_FLOAT);

Tom



pgsql-general by date:

Previous
From: jao@geophile.com
Date:
Subject: When to switch to Postgres 8.0?
Next
From: Tom Lane
Date:
Subject: Re: oid size on 64 bit machine