Re: Problem with accesing Oracle from plperlu functionwhen using remote pg client.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Problem with accesing Oracle from plperlu functionwhen using remote pg client.
Дата
Msg-id 20090316163603.GC3885@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Problem with accesing Oracle from plperlu functionwhen using remote pg client.  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Ответы Re: Problem with accesing Oracle from plperlu functionwhen using remote pg client.
Список pgsql-hackers
Jonah H. Harris escribió:

> On connection, the Oracle client sends the current application name to the
> Oracle server (which is listed in the V$SESSION view); in the case of
> Postgres, the program name is the current backend process name text.
> Because Oracle picks up Postgres' backend text, "postgres: www postgres
> 192.168.1.1(13243)", the (13243) screws up Oracle's TNS parser which
> prevents it from resolving the connection.  This doesn't happen when you're
> connected to PG locally, because the backend text is, "postgres: www
> postgres [local]".

Wow, that's a really idiotic thing for Oracle to do.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: small but useful patches for text search
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Problem with accesing Oracle from plperlu functionwhen using remote pg client.