X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5426D4758DC for ; Tue, 4 Feb 2003 04:44:37 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 462594758BD for ; Tue, 4 Feb 2003 04:44:36 -0500 (EST) Received: (qmail 3067 invoked from network); 4 Feb 2003 09:44:37 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 4 Feb 2003 09:44:37 -0000 Received: from tpf.co.jp (3dgateway1 [126.0.1.60]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id SAA03635; Tue, 4 Feb 2003 18:44:22 +0900 (JST) Message-ID: <3E3F8C0B.C6E195DA@tpf.co.jp> Date: Tue, 04 Feb 2003 18:46:51 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Alain Picard Cc: Nick Gorham , 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> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/14 X-Sequence-Number: 2632 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) How did you build the driver ? Did you link odbcapi30.o, pgapi30.o and info30.o ? regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/