Hi again,
The problem seems to be in function ctype_length in pgtypes.c. It's missing the lengths for SQL_C_BIGINT and
SQL_C_NUMERIC.
Attaching patch and revised test case.
----------------------------------------
From: nukemd@hotmail.com
To: pgsql-odbc@postgresql.org
Subject: [ODBC] SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC
Date: Sat, 14 Jun 2014 22:05:58 +0200
Hi,
I discovered that SQL_DATA_AT_EXEC does not work for the types SQLBIGINT and SQL_NUMERIC_STRUCT. It seems to work for
otherbasic types, though.
Attaching a test case that demonstrates the problem.
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc