Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4F87E4771DA for ; Mon, 13 Jan 2003 18:17:11 -0500 (EST) Received: from mailhost.humph.com (mailhost.humph.com [193.112.138.73]) by postgresql.org (Postfix) with ESMTP id E72E2477191 for ; Mon, 13 Jan 2003 18:16:08 -0500 (EST) Received: from pc3-cmbg2-5-cust150.cmbg.cable.ntl.com ([80.4.125.150] helo=[10.0.1.4]) by mailhost.humph.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.11) id H8ODYY-000HYW-00 for pgsql-odbc@postgresql.org; Mon, 13 Jan 2003 23:16:10 +0000 Mime-Version: 1.0 Message-Id: Date: Mon, 13 Jan 2003 23:16:14 +0000 To: pgsql-odbc@postgresql.org From: Giuliano Gavazzi Subject: psqlodbc/iODBC/MacOSX/Office problem, no tables listed. Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/58 X-Sequence-Number: 2557 Dear list, I have just installed postgres 3.7.1 and psqlodbc-7.2.5 on a MacOS X 10.2 machine with iODBC (iODBC-SDK-3.5.3). I have successfully connected using a test odbc application, I can from this same application obtain the table list (it uses SQLTables). The question: My problem is that I cannot get the list of tables from Microsoft Query in Excel for MacOS X. I have snooped the communication and I have found this query : select relname, nspname, relkind from pg_class, pg_namespace where relkind in ('r','v') and relname !~ '^pg_|^dd_' and pg_namespace.oid = relnamespace order by nspname, relname this is the same that I can snoop for the test application, so I guess it is how the driver translates SQLTables. Also: test=# select relname, nspname, relkind from pg_class, pg_namespace test-# where relkind in ('r', 'v') and relname !~ '^pg_|^dd_' test-# and pg_namespace.oid = relnamespace order by nspname, test-# relname; relname | nspname | relkind ---------+---------+--------- testt | public | r (1 row) and indeed the testt table was listed in the TCP stream. I would say this is not a psqlodbc problem, but maybe some of you might have come across it and found a solution. Thanks for your time. Giuliano -- H U M P H || ||| software Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X http://www.humph.com/