pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem in Re-using the prepared statement
3+ messages / 2 participants
[nested] [flat]

* Problem in Re-using the prepared statement
@ 2014-09-19 10:37 Bala krishna Devasani <baalaa13@gmail.com>
  2014-09-19 12:52 ` Re: Problem in Re-using the prepared statement Heikki Linnakangas <hlinnakangas@vmware.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Bala krishna Devasani @ 2014-09-19 10:37 UTC (permalink / raw)
  To: jkoskela0@gmail.com; pgsql-odbc; hlinnakangas@vmware.com

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"


PostgreSQL version number you are running:

How you installed PostgreSQL:PostgreSQL 9.3.5, compiled by Visual C++ build
1600, 64-bit

Changes made to the settings in the postgresql.conf file: No

Operating system and version:windows 8.1 (64-bit)

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

Is there anything relevant or unusual in the PostgreSQL server logs?:No

For questions about any kind of error:

What you were doing when the error happened / how to cause the
error:"27:Error fetching numeric attribute: ColAttribute for this type not
implemented yet"


Thanks & Regards
Balakrishna

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Problem in Re-using the prepared statement
  2014-09-19 10:37 Problem in Re-using the prepared statement Bala krishna Devasani <baalaa13@gmail.com>
@ 2014-09-19 12:52 ` Heikki Linnakangas <hlinnakangas@vmware.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2014-09-19 12:52 UTC (permalink / raw)
  To: Bala krishna Devasani <baalaa13@gmail.com>; jkoskela0@gmail.com; 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



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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Problem in Re-using the prepared statement
@ 2014-09-22 06:56 Bala krishna Devasani <baalaa13@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Bala krishna Devasani @ 2014-09-22 06:56 UTC (permalink / raw)
  To: pgsql-odbc

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.

*details:* i am executing a prepared statement with binding some parameters
,after executing i am resting the prepared statement and unbinding the
parameters. when try to execute the same prepared statement it is giving
the error :"27:Error fetching numeric attribute: ColAttribute for this type
not implemented yet".  i am using libodbc++ library. when i debug it is
going wrong at

*Line* :ResultSet* rs=ODBCXX_OPERATOR_NEW_DEBUG(__FILE__, __LINE__)
ResultSet(this,hstmt_,hideMe);

Error: "27:Error fetching numeric attribute: ColAttribute for this type not
implemented yet"


PostgreSQL version number you are running:

How you installed PostgreSQL:PostgreSQL 9.3.5, compiled by Visual C++ build
1600, 64-bit

Changes made to the settings in the postgresql.conf file: No

Operating system and version:windows 8.1 (64-bit)

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

Is there anything relevant or unusual in the PostgreSQL server logs?:No

For questions about any kind of error:

What you were doing when the error happened / how to cause the
error:"27:Error fetching numeric attribute: ColAttribute for this type not
implemented yet"


Thanks & Regards
Balakrishna

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-09-22 06:56 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-09-19 10:37 Problem in Re-using the prepared statement Bala krishna Devasani <baalaa13@gmail.com>
2014-09-19 12:52 ` Heikki Linnakangas <hlinnakangas@vmware.com>
2014-09-22 06:56 Problem in Re-using the prepared statement Bala krishna Devasani <baalaa13@gmail.com>

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