Re: REINDEX deadlock - Postgresql -9.1 - Mailing list pgsql-general

From John R Pierce
Subject Re: REINDEX deadlock - Postgresql -9.1
Date
Msg-id 511893FC.5050803@hogranch.com
Whole thread Raw
In response to Re: REINDEX deadlock - Postgresql -9.1  (Anoop K <anoopk6@gmail.com>)
List pgsql-general
On 2/10/2013 10:25 PM, Anoop K wrote:
> Yes, we do that.


well, you need to figure out which connection isn't doing that, as one
of them is leaving a long running transaction pending.

as I said, join pg_stat_activity.pid with pg_locks and whatever to find
out what tables its locking on.

try these
http://wiki.postgresql.org/wiki/Lock_Monitoring



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast

pgsql-general by date:

Previous
From: Sergey Konoplev
Date:
Subject: Re: REINDEX deadlock - Postgresql -9.1
Next
From: Chris Angelico
Date:
Subject: Order of granting with many waiting on one lock