From: | venkat j <venkatech(at)yahoo(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | dblink_connect fails |
Date: | 2003-12-18 12:14:37 |
Message-ID: | 20031218121437.86218.qmail@web60003.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Stratton | 2003-12-18 12:23:54 | pqReadData() -- read() failed: errno=32 |
Previous Message | Bernd Helmle | 2003-12-18 12:10:46 | Re: BLOBS : how to remove them totally |