Ben-Nes Yonatan <nimrod@canaan.co.il> writes:
> I seem to have a problem to run the code when there are single queries
> which take long times (like 5 hours for an update query), from the log
> of the database I received the following code:
> 2005-09-30 17:12:13 IDT postgres : LOG: 08006: could not send data to
> client: Broken pipe
You should install some logging on the client side so you can see what
the client code thinks happened.
If there is a firewall between the database and the client process, one
possibility is that the firewall is timing out the connection.
regards, tom lane