Re: implicit casting problem

From: Tom Larard <larard(at)cs(dot)umb(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: implicit casting problem
Date: 2004-11-11 19:29:33
Message-ID: Pine.GSO.4.21.0411111415200.23470-100000@blade71.cs.umb.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-11-11 19:34:19 Re: oid size on 64 bit machine
Previous Message Robert Fitzpatrick 2004-11-11 19:17:45 Re: DROP DATABASE, but still there