Re: Row level locking

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Carlos Benkendorf <carlosbenkendorf(at)yahoo(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Row level locking
Date: 2005-10-12 06:50:20
Message-ID: 20051012065020.GA3823@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 12, 2005 at 04:11:00AM +0000, Carlos Benkendorf wrote:
> How can I know which rows are locked?

There's no query that says "show me all rows that are locked"; even
if there was, it would be out of date by the time you got the
results. PostgreSQL 8.1 will enhance pg_locks to show tuple locks
in certain cases but it won't show all tuple locks.

Why do you want to know? What are you trying to do?

--
Michael Fuhr

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Simon Riggs 2005-10-12 07:36:12 Re: [GENERAL] Oracle buys Innobase
Previous Message Chris Travers 2005-10-12 05:15:20 Re: Setting up a fine-grained permission system