Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WwVUy-0002hE-Bc for pgsql-odbc@arkaria.postgresql.org; Mon, 16 Jun 2014 11:54:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WwVUx-000280-0K for pgsql-odbc@arkaria.postgresql.org; Mon, 16 Jun 2014 11:54:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WwVUw-00027t-6O for pgsql-odbc@postgresql.org; Mon, 16 Jun 2014 11:54:50 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by magus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WwVUq-0002fz-Kf for pgsql-odbc@postgresql.org; Mon, 16 Jun 2014 11:54:49 +0000 Received: (qmail 23250 invoked by uid 512); 16 Jun 2014 11:54:39 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 16 Jun 2014 11:54:39 -0000 Received: from unknown (HELO ?192.168.1.8?) (183.76.63.174) by sd.tpf.co.jp with SMTP; 16 Jun 2014 11:54:39 -0000 Message-ID: <539EDAFF.80408@tpf.co.jp> Date: Mon, 16 Jun 2014 20:54:39 +0900 From: "Inoue, Hiroshi" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: John Smith CC: "pgsql-odbc@postgresql.org" Subject: Re: SQL_DATA_AT_EXEC fails for SQL_C_BIGINT and SQL_C_NUMERIC References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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