Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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




pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group