From: Inoue, Hiroshi <inoue@tpf.co.jp>
To: John Smith <nukemd@hotmail.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC
Date: Mon, 16 Jun 2014 20:54:39 +0900
Message-ID: <539EDAFF.80408@tpf.co.jp> (raw)
In-Reply-To: <DUB121-W4428E0A4D7BC758280E30DD3140@phx.gbl>
References: <DUB121-W222787A8A63C74F57589F5D3140@phx.gbl>
<DUB121-W4428E0A4D7BC758280E30DD3140@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 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
>
>
>
>
>
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, nukemd@hotmail.com
Subject: Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC
In-Reply-To: <539EDAFF.80408@tpf.co.jp>
References: <DUB121-W222787A8A63C74F57589F5D3140@phx.gbl> <DUB121-W4428E0A4D7BC758280E30DD3140@phx.gbl> <539EDAFF.80408@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox