Re: ConnecDB() -- couldn't send SSL negotiation packet: - Mailing list pgsql-sql

From Richard Huxton
Subject Re: ConnecDB() -- couldn't send SSL negotiation packet:
Date
Msg-id 006d01c10559$0405c600$1001a8c0@archonet.com
Whole thread Raw
In response to ConnecDB() -- couldn't send SSL negotiation packet:  (Bhuvan A <bhuvanbk@yahoo.com>)
Responses Re: ConnecDB() -- couldn't send SSL negotiation packet:
List pgsql-sql
From: "Bhuvan A" <bhuvanbk@yahoo.com>

> While i am trying to connect pgsql from a perl program, i am
> getting the error message as
>
> ConnectDB()  -- couldn't send SSL negotiation packet:
> errno=9 Bad file descriptor

Are you checking return values from whatever connect/open call you make? It
sounds like the client end is trying to negotiate a connection over a
non-existent socket.

What Perl module are you using?

Can you show some code?

- Richard Huxton



pgsql-sql by date:

Previous
From: Alex Pilosov
Date:
Subject: Re: Kind of error-handler in a pgsql function
Next
From: Dennis
Date:
Subject: Re: automatic restore of database