Database locks - Mailing list pgsql-general

From Alex Turner
Subject Database locks
Date
Msg-id 33c6269f05021808112fc4ddae@mail.gmail.com
Whole thread Raw
Responses Re: Database locks  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-general by date:

Previous
From: Benjamin
Date:
Subject: Re: db replication and errors
Next
From: "Mohsen Pahlevanzadeh"
Date:
Subject: Re: I'm newbie