X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 495E3D1EC41 for ; Mon, 29 Mar 2004 12:12:33 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 40194-10 for ; Mon, 29 Mar 2004 08:12:39 -0400 (AST) Received: from jane.inty.net (jane.inty.net [195.224.93.242]) by svr1.postgresql.org (Postfix) with ESMTP id 196B6D1EBB8 for ; Mon, 29 Mar 2004 08:12:29 -0400 (AST) x-previous-hop: 80.234.144.28 Received: from inty.clocksoft.co.uk ([80.234.144.28]) by jane.inty.net (8.12.9/8.12.9) with ESMTP id i2TCCV0h029281 for ; Mon, 29 Mar 2004 13:12:32 +0100 (BST) Received: from clocksoft.com ([192.168.1.30]) by inty.clocksoft.co.uk (8.12.1/8.12.1) with ESMTP id i2TCCQH4008680 for ; Mon, 29 Mar 2004 13:12:26 +0100 (BST) Message-ID: <40681284.10100@clocksoft.com> Date: Mon, 29 Mar 2004 13:11:48 +0100 From: Katherine Goodwin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Problem with unixODBC Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Sender-IP: 192.168.1.30 X-INT-DeliveryDone: i2TCCQH4008680 X-suppress-rcpt-virus-notify: yes X-Virus-Checked: 62984 X-Skip-Virus-Check: yes X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/86 X-Sequence-Number: 3888 Dear all, I'm trying to get the ODBC driver working with Postgres so I can use the OpenOffice data sources facilities. I've managed to get ODBC working so that I can connect to a database but I am unable to see any tables. The following happens... [etc@pike]$ isql test +---------------------------------------+ | Connected! | | | | sql-statement | | help [tablename] | | quit | | | +---------------------------------------+ SQL> help [ISQL]ERROR: Could not SQLTables SQL> However, if I connect using psql using the same credentials, I can see the tables fine. I'm assuming this is an access control / permissions type issue, but am not sure how to fix it. Any suggestions gratefully received. My config files are as follows: odbc.ini: ------------------------------------- [ODBC Data Sources] test = PostgreSQL [test] Description = postgres Driver = /usr/lib/libodbcpsql.so.1 Database = jobs Trace = No TraceFile = /tmp/odbc.log Servername = localhost UserName = kat Password = xxxx Port = 5432 ------------------------------------- odbcinst.ini: ------------------------------------- # Example driver definitinions # # [ODBC Drivers] PostgreSQL = Installed # Included in the unixODBC package [PostgreSQL] Description = ODBC for PostgreSQL Driver = /usr/lib/libodbcpsql.so Setup = /usr/lib/libodbcpsqlS.so FileUsage = 1 # From the MyODBC package #[MySQL] #Description = ODBC for MySQL #Driver = /usr/lib/libmyodbc.so #FileUsage = 1 ------------------------------------- Many thanks in advance, Kat -- Katherine Goodwin Clockwork Software Systems intY has scanned this email for all known viruses (www.inty.com)