X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 870CC47A2DF for ; Fri, 31 Jan 2003 18:23:08 -0500 (EST) Received: from mailhost.humph.com (mailhost.humph.com [193.112.138.73]) by postgresql.org (Postfix) with ESMTP id 6E72247E4D5 for ; Fri, 31 Jan 2003 16:16:52 -0500 (EST) Received: from pc3-cmbg2-5-cust150.cmbg.cable.ntl.com ([80.4.125.150] helo=[10.0.1.13]) by mailhost.humph.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.12) id H9LKG6-000CS5-00; Fri, 31 Jan 2003 21:16:54 +0000 Mime-Version: 1.0 Message-Id: In-Reply-To: <3E394A5E.609@sonic.net> References: <3E394A5E.609@sonic.net> Date: Fri, 31 Jan 2003 21:16:48 +0000 To: afore@sonic.net, pgsql-odbc@postgresql.org From: Giuliano Gavazzi <"dev +pgsql"@humph.com> Subject: Re: Postgresql & ODBC Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/1 X-Sequence-Number: 2619 At 7:53 -0800 2003/01/30, Art Fore wrote: >I went through the info on the documentation to setup ODBC for >Postgresql, but when I use isql PostgresQL-test, I get a no connect >error. Could someone tell me what I did wrong? The two ini files are >below. I can connect with Rekall, but it does not use ODBC, it uses >python script. > >odbc.ini > >[PostgreSQL] >Description = Test to Postgres >Driver = PostgreSQL >Trace = Yes >TraceFile = sql.log >Database = test >Servername = localhost >UserName = >Password = >Port = 5432 >Protocol = 6.4 >ReadOnly = No >RowVersioning = No >ShowSystemTables = No >ShowOidColumn = No >FakeOidIndex = No >ConnSettings = > >odbcinst.ini > >[PostgreSQL] >Description = PostgreSQL driver >Driver = /usr/lib/unixODBC/libodbcpsql.so >Setup = /usr/lib/unixODBC/libodbcpsqlS.so >FileUsage = 1 > I do not know isql, but your odbc.ini does not contain the list of datasources and the definition of the PostgresQL-test datasource itself. Giuliano