From: | John Smith <nukemd(at)hotmail(dot)com> |
---|---|
To: | "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC |
Date: | 2014-06-14 22:20:25 |
Message-ID: | DUB121-W4428E0A4D7BC758280E30DD3140@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
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(at)hotmail(dot)com
To: pgsql-odbc(at)postgresql(dot)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 other basic types, though.
Attaching a test case that demonstrates the problem.
--
Sent via pgsql-odbc mailing list (pgsql-odbc(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Attachment | Content-Type | Size |
---|---|---|
dataatexec-basictypes-test.c | text/plain | 4.1 KB |
dataatexec-basictypes.patch | application/octet-stream | 686 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | John Smith | 2014-06-15 16:51:32 | Precision problems with storage of float/double |
Previous Message | Inoue, Hiroshi | 2014-06-14 22:06:32 | Re: Building psqlODBC installers |