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

From: "Farid Z" <farid(at)zidsoft(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2081: ODBC numeric(12,6) SQL_C_CHAR clobbered data
Date: 2005-11-30 18:11:23
Message-ID: 20051130181123.BA519F0B72@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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),
)

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-11-30 18:12:35 Re: BUG #2079: strage PREPARE/EXECUTE behavior
Previous Message Tom Lane 2005-11-30 18:07:13 Re: BUG #2078: lock freeing problem in transaction (?)