Re: REINDEX deadlock - Postgresql -9.1

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: REINDEX deadlock - Postgresql -9.1
Date: 2013-02-11 06:47:24
Message-ID: 511893FC.5050803@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Angelico 2013-02-11 06:56:36 Order of granting with many waiting on one lock
Previous Message Sergey Konoplev 2013-02-11 06:26:03 Re: REINDEX deadlock - Postgresql -9.1