Home > Archive > PostgreSQL Bugs > December 2005 > BUG #2081: ODBC numeric(12,6) SQL_C_CHAR clobbered data









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author BUG #2081: ODBC numeric(12,6) SQL_C_CHAR clobbered data
Farid Z

2005-12-01, 11:24 am


The following bug has been logged online:

Bug reference: 2081
Logged by: Farid Z
Email address: farid@zidsoft.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

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com