SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC
SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC
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.
Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC
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 other basic 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
Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC
От:
"Inoue, Hiroshi" <inoue@tpf.co.jp>
Дата:
Hi John, Applied the patch. Thanks. Hiroshi Inoue (2014/06/15 7:20), John Smith wrote: > 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 other basic 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 > > > > >