Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC

From: "Inoue, Hiroshi" <inoue(at)tpf(dot)co(dot)jp>
To: John Smith <nukemd(at)hotmail(dot)com>
Cc: "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-16 11:54:39
Message-ID: 539EDAFF.80408@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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
>
>
>
>
>

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Craig Ringer 2014-06-16 13:27:07 PATCH: Fix minor unallocated memory access in msdtc_enlist.cpp
Previous Message Craig Ringer 2014-06-16 11:02:05 Re: Two copies of the winbuild readme?