Ben-Nes Yonatan <nimrod@xxxxxxxxxxxx> 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 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org