Re: "deadlock detected" documentation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matt Mello <alien(at)spaceship(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: "deadlock detected" documentation
Date: 2003-05-07 04:46:59
Message-ID: 24809.1052282819@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Matt Mello <alien(at)spaceship(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message A.Bhuvaneswaran 2003-05-07 04:58:15 Re: "deadlock detected" documentation
Previous Message Tom Lane 2003-05-07 03:00:51 Re: UNIQUE boolean: only one row may be "true"