Ben <[EMAIL PROTECTED]> writes: > I'm doing a bunch of data mining against a postgres database and have > run into an interesting problem with deadlocks. The problem is, > postgres is detecting them and then wacking the offending process, and > I can't figure out what's causing them.
The processes involved in the deadlock should be identified in the DETAIL message for the deadlock error. Perhaps you are using client code that doesn't show you the DETAIL? If so, look in the postmaster log. You can correlate the process PIDs mentioned in the message to pg_stat_activity.procpid. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend