X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 243B3D993E for ; Tue, 27 Sep 2005 12:03:30 -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 33825-01 for ; Tue, 27 Sep 2005 15:03:22 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id BDD98D992A for ; Tue, 27 Sep 2005 12:03:18 -0300 (ADT) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EKGxX-0005UD-Ji for pgsql-odbc@postgresql.org; Tue, 27 Sep 2005 17:01:32 +0200 Received: from 193.16.155.145 ([193.16.155.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2005 17:01:31 +0200 Received: from rainer by 193.16.155.145 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2005 17:01:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-odbc@postgresql.org From: Rainer Hochreiter Subject: postgresql-odbc vs. unixODBC Date: Tue, 27 Sep 2005 16:27:52 +0200 Lines: 49 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 193.16.155.145 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.555 required=5 tests=[RCVD_BY_IP=0.024, RCVD_NUMERIC_HELO=1.531] X-Spam-Level: * X-Archive-Number: 200509/182 X-Sequence-Number: 6080 hi, does anybody know what the differences are between postgresql-odbc and unixODBC? because connection via postgresql-odbc work and via unixODBC fails! here some infos: my /etc/odbcinst.ini: --------------------- [PostgreSQL] Description = ODBC for PostgreSQL (postgresql-odbc) Driver = /usr/lib/psqlodbc.so FileUsage = 1 [PostgreSQL2] Description = ODBC for PostgreSQL (unixODBC) Driver = /usr/lib/libodbcpsql.so FileUsage = 1 my /etc/odbc.ini: ----------------- [DB1] Description = PostgreSQL Driver = PostgreSQL Database = DB1 ServerName = localhost UserName = icp Port = 5432 [DB2] Description = PostgreSQL Driver = PostgreSQL2 Database = DB2 ServerName = localhost UserName = icp Port = 5432 my /var/lib/pgsql/data/pg_hba.conf: ----------------------------------- local DB1 uid md5 local DB2 uid md5 isql DB1 uid pwd => work fine isql DB2 uid pwd => results in "[ISQL]ERROR: Could not SQLConnect" any hints welcome! cheers, rainer