dblink_connect fails

Поиск
Список
Период
Сортировка
От venkat j
Тема dblink_connect fails
Дата
Msg-id 20031218122100.36102.qmail@web60006.mail.yahoo.com
обсуждение исходный текст
Ответы Re: dblink_connect fails  (Joe Conway <mail@joeconway.com>)
Список pgsql-cygwin
Hello All
Im trying to use dblink set of functions in PostGreSql 7.3.4. My environment is WinNT and cygwin. I try to connect to a different database using dblink_connect. In my pl/pgsql statement
 
....
perform dblink_connect(\'dbname=generic\');
.....
 
When i call this function, PostGreSql throws the following error:
 
ERROR:  dblink_connect: connection error: could not send startup packet: Transport endpoint is not connected
 
Im calling the above function from a Java program.
 
But i tried out a sample function that works fine! This sample function works fine from psql prompt and from a java program.
Can anybody help in understanding this error better?
 
Thanks in advance.


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

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

Предыдущее
От: Jean-Pierre Praz
Дата:
Сообщение: Re: INITDB error
Следующее
От: Patrick Samson
Дата:
Сообщение: Postgres 7.3.X "make install" fails on pgtclsh