Re: Problem in Re-using the prepared statement

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Bala krishna Devasani <baalaa13(at)gmail(dot)com>, <jkoskela0(at)gmail(dot)com>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Problem in Re-using the prepared statement
Date: 2014-09-19 12:52:12
Message-ID: 541C26FC.906@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Adrian Klaver 2014-09-20 14:17:40 Re: FW: error
Previous Message Bala krishna Devasani 2014-09-19 10:37:25 Problem in Re-using the prepared statement