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

Поиск
Список
Период
Сортировка
От Byron Nikolaidis
Тема Re: [QUESTIONS] PB: accessing postgreSQL database from MSaccess97
Дата
Msg-id 355060EF.8B73765D@insightdist.com
обсуждение исходный текст
Список 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.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




В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [QUESTIONS] postgres odbc ipaddresses and asp
Следующее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [QUESTIONS] pgaccess