X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 89DE2D1B7CF for ; Fri, 25 Jun 2004 11:43:38 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 41223-04 for ; Fri, 25 Jun 2004 14:43:33 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id BC3C2D1B18E for ; Fri, 25 Jun 2004 11:43:28 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i5PEhSQC080368 for ; Fri, 25 Jun 2004 14:43:28 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i5PEXkJS078530 for pgsql-odbc@postgresql.org; Fri, 25 Jun 2004 14:33:46 GMT From: apm35@student.open.ac.uk (apm) X-Newsgroups: comp.databases.postgresql.interfaces.odbc Subject: Re: unixODBC drivers for PostgreSQL? Date: 25 Jun 2004 07:33:44 -0700 Organization: http://groups.google.com Lines: 17 Message-ID: References: <1087567614.3272.38.camel@workstation.mn.mtu.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200406/63 X-Sequence-Number: 4133 jpschewe@mtu.net (Jon Schewe) wrote in message news:<1087567614.3272.38.camel@workstation.mn.mtu.net>... > I'm trying to get unixODBC and PostgreSQL to talk nice, but can't seem > to get it working. I've seen a few posts on the list of people trying > to do this as well. Have any of you gotten it to work? No, not with version 3.0 of ODBC. It claims to build ok with version 2.5 but I need 3.0 due to specific functions that were introduced in that version. I have version 07.03.0200 of psqlodbc and version 7.4.3 of postgres. When I build postgres with ./configure --with-odbcver=0x0300 it fails. This is because the code uses the type SQLHDESC which is a new type in ODBC version 3.0. However, psqlodbc.h does not define it. Can anyone help please? Regards, Andrew Marlow