Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.2.1]) by hub.org (8.9.3/8.9.3) with ESMTP id EAA03203 for ; Fri, 15 Oct 1999 04:36:20 -0400 (EDT) (envelope-from jan@jan-dittberner.de) Received: from jan.hackit.off. (irzppp5.inf.tu-dresden.de [141.76.92.5]) by irz301.inf.tu-dresden.de (8.8.8+Sun/8.8.8) with ESMTP id KAA14783 for ; Fri, 15 Oct 1999 10:36:15 +0200 (MET DST) Received: from jan-dittberner.de (IDENT:jd9@jan.hackit.off. [192.168.0.1]) by jan.hackit.off. (8.9.3/8.9.3) with ESMTP id KAA23027 for ; Fri, 15 Oct 1999 10:33:44 +0200 Sender: jd9@jan.hackit.off Message-ID: <3806E6E8.C9A01DEE@jan-dittberner.de> Date: Fri, 15 Oct 1999 08:33:44 +0000 From: Jan Dittberner Organization: TU Dresden - department of computer science X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.13-7mdkfb i586) X-Accept-Language: de, de-DE, en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: unixODBC + PostgreSQL 6.5.1 Content-Type: multipart/mixed; boundary="------------7472499C0E7A9E4E24F333FA" This is a multi-part message in MIME format. --------------7472499C0E7A9E4E24F333FA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I tried to use unixODBC to connect to a PostgreSQL 6.5.1 DB via StarOffice. I couldn't successfully configure odbcinst.ini or odbc.ini. I started isql which failed with the following message: [jd9@jan jd9]$ isql template1 [ISQL]ERROR: Could not SQLConnect There are two obscure entries in the logfile: [ODBC][22911][SQLConnect.c][1378] Exit:[SQL_ERROR] [ODBC][22911][SQLFreeHandle.c][174] Entry: Handle Type = 2 Input Handle = 0x804c5d8 I used the attached .ini files. Can someone help? Jan -- \___________________________________________________________ Jan Dittberner Technical University Dresden - department of computer science -------------------------------------------------------------- mail: jan@jan-dittberner.de ============================================================== --------------7472499C0E7A9E4E24F333FA Content-Type: text/plain; charset=iso-8859-1; name="odbc.ini" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="odbc.ini" [PSQL-Test] Description = PostgreSQL für DB 'jd9' auf localhost Driver = Postgresql Trace = Yes Tracefile = /tmp/postgresql_proto Database = jd9 Host = localhost Username = Password = Port = 5432 Protocol = 6.5 ReadOnly = No RowVersioning = No ShowSystemTables= No ShowOidColumn = No FakeOidIndex = No ConnSettings = [template1] Description = template1 Driver = postgresql Trace = Yes Tracefile = /tmp/postgresql.log Database = template1 Host = localhost Username = Password = Port = 5432 Protocol = 6.4 ReadOnly = No RowVersioning = No ShowSystemTables = No ShowOidColumn = No FakeOidIndex = No ConnSettings = --------------7472499C0E7A9E4E24F333FA Content-Type: text/plain; charset=us-ascii; name="odbcinst.ini" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="odbcinst.ini" [Postgresql] Description = PGSQL 6.5.1 Driver = /usr/local/lib/libodbcpsql.so.1.0.0 Setup = /usr/local/lib/libodbcpsqlS.so.1.0.0 FileUsage = 1 Debug = 0 --------------7472499C0E7A9E4E24F333FA--