Re: Detecting table/row locks - Mailing list pgsql-novice

From Joshua Daniel Franklin
Subject Re: Detecting table/row locks
Date
Msg-id Pine.LNX.4.44.0212031639390.15269-100000@iocc.com
Whole thread Raw
In response to Detecting table/row locks  (Joshua Daniel Franklin <joshua@iocc.com>)
List pgsql-novice
On Wed, 27 Nov 2002, Joshua Daniel Franklin wrote:
> Is there a quick SQL way to check if a certain table
> (or row) is locked?
>
> I see that an UPDATE will just block until the previous
> lock is removed.

I think this question I asked earlier before reading more
is a misunderstanding of how SQL works. Locking is not to
prevent others from being able to modify rows before seeing
how they have changed, but to enforce an ordering.


pgsql-novice by date:

Previous
From: "Devinder K Rajput"
Date:
Subject: Re: Copy entire file as one field
Next
From: "John Sklavounos"
Date:
Subject: Help! Lost functions