Misunderstanding deadlocks - Mailing list pgsql-general

From snacktime
Subject Misunderstanding deadlocks
Date
Msg-id CABFnarY7w=Cp3m=gh7VuQosTr3ygo1G2ZKeuO-CcqaMCxGMcmw@mail.gmail.com
Whole thread Raw
Responses Re: Misunderstanding deadlocks  (Igor Neyman <ineyman@perceptron.com>)
Re: Misunderstanding deadlocks  (Bill Moran <wmoran@potentialtech.com>)
List pgsql-general
I'm confused about how deadlock detection and breaking deadlocks works.  Googling around it seems that the server should be detecting deadlocks and aborting one of the queries.

But I'm getting occasional deadlocks that literally hang forever.  I'm assuming they are deadlocks because they show up when running the queries I got from this url:



I'm running postgres 9.3 on ubuntu, configuration is the default.

Chris


pgsql-general by date:

Previous
From: Rob Sargent
Date:
Subject: Re: COPY data into a table with a SERIAL column?
Next
From: Steve Wampler
Date:
Subject: Re: COPY data into a table with a SERIAL column?