Обсуждение: ODBC problem

Поиск
Список
Период
Сортировка

ODBC problem

От
"Terence Chan"
Дата:
I have exported a table from MS Access 97 to PG via ODBC. I can see the file
is exported to the correct place but psql complaining the table is not
there.

Please help.

Terence




Re: [INTERFACES] ODBC problem

От
Hannu Krosing
Дата:
Terence Chan wrote:
> 
> I have exported a table from MS Access 97 to PG via ODBC. I can see the file
> is exported to the correct place but psql complaining the table is not
> there.

Are you sure that the file (and directories leading to it) are readable
by the 
user postgres, or whatever your backend runs as ?

As a last resort move the file to /tmp and chmod 777 it.

------
Hannu


RE: [INTERFACES] ODBC problem

От
"Terence Chan"
Дата:
Thanks,

Yes, the file tblItem is belongs to user postgres. And I have also tried the
chmod 777 the file and still can't access it.

BTW, I can link / access the file from within MS Access via ODBC.

Any idea?



-----Original Message-----
From:    hannu@kodu.home.ee [mailto:hannu@kodu.home.ee] On Behalf Of Hannu
Krosing
Sent:    Thursday, July 15, 1999 2:14 PM
To:    Terence Chan
Cc:    pgsql-interfaces@postgreSQL.org
Subject:    Re: [INTERFACES] ODBC problem

Terence Chan wrote:
>
> I have exported a table from MS Access 97 to PG via ODBC. I can see the
file
> is exported to the correct place but psql complaining the table is not
> there.

Are you sure that the file (and directories leading to it) are readable
by the
user postgres, or whatever your backend runs as ?

As a last resort move the file to /tmp and chmod 777 it.

------
Hannu