Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC
Date
Msg-id 539EDAFF.80408@tpf.co.jp
Whole thread Raw
In response to Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC  (John Smith <nukemd@hotmail.com>)
List pgsql-odbc
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
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
>
>
>
>
>


pgsql-odbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Two copies of the winbuild readme?
Next
From: Craig Ringer
Date:
Subject: PATCH: Fix minor unallocated memory access in msdtc_enlist.cpp