From: Byron Nikolaidis <byronn@insightdist.com>
To: Gilles.Lavaux <gilles.lavaux@esrin.esa.it>
Cc: pgsql-questions@postgreSQL.org, "pgsql-interfaces@postgreSQL.org" <pgsql-interfaces@postgreSQL.org>
Subject: Re: [QUESTIONS] PB: accessing postgreSQL database from MSaccess97
Date: Wed, 06 May 1998 09:09:03 -0400
Message-ID: <355060EF.8B73765D@insightdist.com> (raw)
References: <01bd78ed$14ddbba0$fce3ccc1@asgard.esrin.esa.it>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: byronn@insightdist.com, gilles.lavaux@esrin.esa.it
Subject: Re: [QUESTIONS] PB: accessing postgreSQL database from MSaccess97
In-Reply-To: <355060EF.8B73765D@insightdist.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox