Re: "deadlock detected" documentation - Mailing list pgsql-sql

From Tom Lane
Subject Re: "deadlock detected" documentation
Date
Msg-id 24809.1052282819@sss.pgh.pa.us
Whole thread Raw
In response to "deadlock detected" documentation  (Matt Mello <alien@spaceship.com>)
Responses Re: "deadlock detected" documentation
List pgsql-sql
Matt Mello <alien@spaceship.com> writes:
> I just got a "deadlock detected" SQL error from the backend.  I've never 
> received one of these before, but I just released new pooling code, so 
> I'm concerned.

> Can someone point me to documentation on what this is and how to prevent 
> it?  [My search on the newsgroups yielded far too much for me to read.]

It means user A is waiting for a lock held by user B, while user B
is waiting for a lock held by user A.  For better info you'll need
to offer more details about what your applications are doing ...
        regards, tom lane



pgsql-sql by date:

Previous
From: "A.Bhuvaneswaran"
Date:
Subject: Re: "deadlock detected" documentation
Next
From: "Ries van Twisk"
Date:
Subject: Re: UNIQUE boolean: only one row may be "true"