Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.8.8/8.7.5) with ESMTP id JAA20211 for ; Wed, 6 May 1998 09:20:21 -0400 (EDT) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.8.5/8.8.5(+AntiRelay)) with UUCP id JAA17518 for pgsql-interfaces@postgreSQL.org; Wed, 6 May 1998 09:15:16 -0400 (EDT) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA13871; Wed, 6 May 1998 09:05:23 -0400 Received: from [3.0.0.50] by ceodev (AIX 4.1/UCB 5.64/4.03) id AA52456; Wed, 6 May 1998 09:05:23 -0400 Message-Id: <355060EF.8B73765D@insightdist.com> Date: Wed, 06 May 1998 09:09:03 -0400 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: "Gilles.Lavaux" Cc: pgsql-questions@postgreSQL.org, "pgsql-interfaces@postgreSQL.org" Subject: Re: [QUESTIONS] PB: accessing postgreSQL database from MSaccess97 References: <01bd78ed$14ddbba0$fce3ccc1@asgard.esrin.esa.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Type in the following query in the psql monitor: select relname, usename from pg_class, pg_user where relkind = 'r' and relname !~ '^xinv[0-9]+' and int4out(usesysid) = int4out(relowner) order by relname This is exactly what the ODBC driver does. What does it return? If it returns nothing, then try this query (remove the ownership test): select relname, usename from pg_class, pg_user where relkind = 'r' and relname !~ '^xinv[0-9]+' order by relname If this returns something, then there is a problem with ownerships. Byron Gilles.Lavaux wrote: > Hi, > > I have a big problem: > - I have window95 + msaccess97 > - I have installed the postgreSQL ODBC driver V:06.30.0010 > - I try to import data from an existing postgreSQL DB(hosted on a SUN) > - the connection works fine, BUT I get all the time an EMPTY list of table > in the 'import object' windows. > > Any Idee? > > (the postgreSQL DB seams fine, I can work on it with a TK-TCL interface. > I can also retrive data from the MSwindows ODBCtest utility) > > NB: I have trace the ODBC connection.The connection is established well, > then there is a query:"SELECT Config, nValue FROM MSysConf" wich return > 'table does not exists', then the next 'interresting' command is : > 'ENTER SQLTablesW'; and the result is SQL_NO_DATA_FOUND. > > thanks for any help > > gilles.lavaux@mail.esrin.esa.it > > -- > Official WWW Site: http://www.postgresql.org > Online Docs & FAQ: http://www.postgresql.org/docs > Searchable Lists: http://www.postgresql.org/mhonarc