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 3BEEBD1B345 for ; Tue, 3 Aug 2004 07:48:24 -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 25757-06 for ; Tue, 3 Aug 2004 10:48:24 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id EF391D1B340 for ; Tue, 3 Aug 2004 07:48:22 -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 i73AmIqb078726 for ; Tue, 3 Aug 2004 10:48:18 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i73AeABe077692 for pgsql-odbc@postgresql.org; Tue, 3 Aug 2004 10:40:10 GMT From: kluge@despammed.com (Stefano Vita Finzi) X-Newsgroups: comp.databases.postgresql.interfaces.odbc Subject: unixodbc Date: 3 Aug 2004 03:40:12 -0700 Organization: http://groups.google.com Lines: 62 Message-ID: <6015727.0408030240.62668e39@posting.google.com> 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.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/8 X-Sequence-Number: 4317 I have some problems when trying to setup unixodbc with postgresql on my RedHat 9 machine. I have build and installed postgresql 7.4.2, it works fine and it accepts tcp/ip connections. I have istalled the following rpm: unixODBC-2.2.3-6 postgresql-odbc-7.2.5-1 If I use the driver provided with unixodbc i can connect with isql but i have this error logged: > ERROR: unrecognized configuration parameter "ksqo" Reading in ng, someone warned to not use the odbc driver that is in the unixodbc package, since it is quite old. So I tried to use the postgresql driver (/usr/lib/psqlodbc.so) but i am unable to connect with isql. This is my /etc/odbcinst.ini: [PostgreSQL1] Description = ODBC for PostgreSQL Driver = /usr/lib/psqlodbc.so FileUsage = 1 [PostgreSQL2] Description = ODBC for PostgreSQL Driver = /usr/local/lib/libodbcpsql.so Setup = /usr/local/lib/libodbcpsqlS.so FileUsage = 1 and this is my /etc/odbc.ini [test] Description = Test to Postgres Driver = PostgreSQL Trace = Yes TraceFile = sql.log Database = test Servername = localhost UserName = postgres Password = **** Port = 5432 Protocol = 7.4.3 ReadOnly = No RowVersioning = No ShowSystemTables = No ShowOidColumn = No FakeOidIndex = No ConnSettings = If i use PostgreSQL1 dsn I am unable to connect. If I use the PostgreSQL2 dsn, isql can connect. Any suggestion? Thank you, Stefano Vita Finzi