dbTalk Databases Forums  

[BUGS] BUG #2081: ODBC numeric(12,6) SQL_C_CHAR clobbered data

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2081: ODBC numeric(12,6) SQL_C_CHAR clobbered data in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Farid Z
 
Posts: n/a

Default [BUGS] BUG #2081: ODBC numeric(12,6) SQL_C_CHAR clobbered data - 12-01-2005 , 11:18 AM







The following bug has been logged online:

Bug reference: 2081
Logged by: Farid Z
Email address: farid (AT) zidsoft (DOT) com
PostgreSQL version: 8.1
Operating system: Windows 2000
Description: ODBC numeric(12,6) SQL_C_CHAR clobbered data
Details:

Server 8.1, ODBC driver PostgreSQL ANSI 8.01.01.00
Driver clobbers data retrieving numeric(12,6) into a SQL_C_CHAR buffer (
allocated buffer size 21 bytes ) ANSI application. numeric( 12,4)works ok.
you can download copy of the application from
http://www.zidsoft.com

CREATE TABLE test_numeric
(
price numeric(12,6),
)

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.