Re: Problem in Re-using the prepared statement - Mailing list pgsql-odbc

From Heikki Linnakangas
Subject Re: Problem in Re-using the prepared statement
Date
Msg-id 541C26FC.906@vmware.com
Whole thread Raw
List pgsql-odbc
On 09/19/2014 01:37 PM, Bala krishna Devasani wrote:
> Desc: i have a problem executing the prepared statement more than once. 1st
> time it executing correct and when i try to execute same prepared statement
> next time it is failed giving the error like this.
>
> Error: "27:Error fetching numeric attribute: ColAttribute for this type not
> implemented yet"

That message is given when the SQLColAttribute function is called with a
field identifier that the driver doesn't recognize.

> What program you're using to connect to PostgreSQL:ODBC 3.5 (libodbc++)
> library

Perhaps libodbc++ issues the SQLColAttribute() call automatically?
Enable debug logging, and check the "mylog.*" file. There should be a
line for the call to the PGAPI_ColAttributes function, showing the
arguments it was called with.

- Heikki



pgsql-odbc by date:

Previous
From: Keith Handlon
Date:
Subject: Re: solaris and openssl
Next
From: "Vaughn, Ben"
Date:
Subject: FW: error