X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BB7BE474E44 for ; Tue, 4 Feb 2003 04:46:19 -0500 (EST) Received: from gangrad.easysoft.com (gangrad.easysoft.com [194.131.236.119]) by postgresql.org (Postfix) with ESMTP id 47337474E42 for ; Tue, 4 Feb 2003 04:46:18 -0500 (EST) Received: from mail pickup service by gangrad.easysoft.com with Microsoft SMTPSVC; Tue, 4 Feb 2003 09:46:17 +0000 Received: from easysoft.com ([194.131.236.121] RDNS failed) by gangrad.easysoft.com with Microsoft SMTPSVC(5.0.2195.4453); Tue, 4 Feb 2003 09:46:13 +0000 Message-ID: <3E3F8BE5.4060207@easysoft.com> Date: Tue, 04 Feb 2003 09:46:13 +0000 From: Nick Gorham User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alain Picard Cc: Peter Harvey , pgsql-odbc@postgresql.org, claudio.natoli@memetrics.com Subject: Re: unixODBC, PostgreSQL 7.3 + ODBC V3 drivers? References: <15935.11848.278897.343335@outback.memetrics.local> In-Reply-To: <15935.11848.278897.343335@outback.memetrics.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Feb 2003 09:46:13.0880 (UTC) FILETIME=[417AE780:01C2CC32] X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/34 X-Sequence-Number: 2652 Alain Picard wrote: > Dear unixODBC and psqlodbc maintainers, > > I'm trying to use unixODBC with the latest (CVS) psqlodbc library > with PostgreSQL 7.3. > > This is all working fine, but, as of 7.3 PostgreSQL returns > aggregate types (e.g. SUMs, COUNTs) as INTEGER8, and so these > results are (correctly) mapped to string types by the ODBC V2 driver. > > On Windows NT, using the experimental psqlodbc V3 driver, things > work properly and I get numbers back. On Linux, however, compiling > the experimental psqlodbc V3 driver results in problems. (I did > this by defining ODBCVER to be 0x0351 in config.h) Hi, Not trying to duck any problems, but I don't think this is a unixODBC problem as the message is from the driver, but if you do find otherwise tell me and I will fix. -- Nick Gorham Easysoft Limited http://www.easysoft.com