View Single Post

   
  #3 (permalink)  
Old 05-07-2008, 11:18 AM
Albe Laurenz *EXTERN*
 
Posts: n/a
Default Re: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend

Albretch Mueller wrote:
> I am having a problem with PG I don't quite understand. I know the
> server is running but I am getting exceptions as it is not. The
> exception is thrown exactly after setting the parameters of a
> preparedStatement, when I try to execute the query
> ~
> ResultSet RS = PSt.executeQuery();
> ~
> org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.
> at org.postgresql.core.v3.QueryExecutorImpl.execute(Q ueryExecutorImpl.java:218)


> I do know PG is running in my box:


That sounds like your backend is dying or something...

I would set the following in postgresql.conf on the server and reload:

log_statement=all
log_min_error_statement=ERROR
log_min_messages=ERROR
log_connections=on
log_disconnections=on

Then look what shows up in the server log.

Yours,
Laurenz Albe

PS: Really "Albretch"? Not "Albrecht"?

--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

Reply With Quote