Database locks

From: Alex Turner <armtuk(at)gmail(dot)com>
To: PgSQL General List <pgsql-general(at)postgresql(dot)org>
Subject: Database locks
Date: 2005-02-18 16:11:34
Message-ID: 33c6269f05021808112fc4ddae@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm having a bear of a time with an application where one thread seems
to be keeping a lock on a table after it's supposed to release it.

select count(*) from pg_locks gives:
6816

Is there any way to get the list of locks by transation id or some
other datum to indicate which was first, or to figure out which is the
lock that is holding everything else back?

Alex Turner
netEconomist

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mohsen Pahlevanzadeh 2005-02-18 16:26:39 Re: I'm newbie
Previous Message Benjamin 2005-02-18 15:57:05 Re: db replication and errors