pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Bala krishna Devasani <baalaa13@gmail.com>
To: jkoskela0@gmail.com
To: pgsql-odbc@postgresql.org
Subject: Re: Problem in Re-using the prepared statement
Date: Fri, 19 Sep 2014 15:52:12 +0300
Message-ID: <541C26FC.906@vmware.com> (raw)
In-Reply-To: <CADuPSmZRrLaRMsHw6f+9WYtizE5Rqw=5b=y0+JsB4qXXDE78uQ@mail.gmail.com>
References: <CADuPSmZRrLaRMsHw6f+9WYtizE5Rqw=5b=y0+JsB4qXXDE78uQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (3+ messages)  latest in thread

Message-ID: <541C26FC.906@vmware.com>
Permalink:  ../541C26FC.906@vmware.com/
Also on:    postgresql.org/message-id/541C26FC.906@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, baalaa13@gmail.com, jkoskela0@gmail.com
  Subject: Re: Problem in Re-using the prepared statement
  In-Reply-To: <541C26FC.906@vmware.com>
  References: <CADuPSmZRrLaRMsHw6f+9WYtizE5Rqw=5b=y0+JsB4qXXDE78uQ@mail.gmail.com> <541C26FC.906@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox