Re: How I do from PostgreSQL to Oracle Db Link

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How I do from PostgreSQL to Oracle Db Link
Дата
Msg-id 26102.1307368974@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How I do from PostgreSQL to Oracle Db Link  (Ray Stell <stellr@cns.vt.edu>)
Список pgsql-admin
Ray Stell <stellr@cns.vt.edu> writes:
> On Sat, Jun 04, 2011 at 10:05:46AM +0900, ?????? wrote:
>> ERROR:  odbclink: unsuccessful SQLConnect call: [S1000] [12514]
>>
>> [[unixODBC][Oracle][ODBC][Ora]ORA-12514: TNS:listener does not currently
>> know of service requested in connect descripto

> sounds like you got to the listener, but didn't tell it the correct service name in
> the connect string.  Did you spell it correctly?   You can use the oracle cmd
> lsnrctl status on the oracle server to get the service names.

I wonder if the OP set up the service description in his personal
~/.odbc.ini file.  If so, it would work for him from the command line,
but odbclink running in the postgres server wouldn't see it (unless the
server happened to be running as his userid, which wouldn't be a good
setup).  The fix for that would be to put the info in the system-wide
/etc/odbc.ini file.

            regards, tom lane

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

Предыдущее
От: Ray Stell
Дата:
Сообщение: Re: How I do from PostgreSQL to Oracle Db Link
Следующее
От: Mike Broers
Дата:
Сообщение: Re: any tricks to get foreign key constraint builds faster