Re: [QUESTIONS] PB: accessing postgreSQL database from MSaccess97

From: Byron Nikolaidis <byronn(at)insightdist(dot)com>
To: "Gilles(dot)Lavaux" <gilles(dot)lavaux(at)esrin(dot)esa(dot)it>
Cc: pgsql-questions(at)postgreSQL(dot)org, "pgsql-interfaces(at)postgreSQL(dot)org" <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [QUESTIONS] PB: accessing postgreSQL database from MSaccess97
Date: 1998-05-06 13:09:03
Message-ID: 355060EF.8B73765D@insightdist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(dot)lavaux(at)mail(dot)esrin(dot)esa(dot)it
>
> --
> Official WWW Site: http://www.postgresql.org
> Online Docs & FAQ: http://www.postgresql.org/docs
> Searchable Lists: http://www.postgresql.org/mhonarc

Browse pgsql-interfaces by date

  From Date Subject
Next Message Conrado Miguel Rodriguez Fernandez 1998-05-06 16:10:54 Help!
Previous Message Benoit Foucher 1998-05-05 22:36:15 [INTERFACES] ODBC: Problem with Fetching records