Re: Opposite of LOCK - Mailing list pgsql-sql

From Tom Lane
Subject Re: Opposite of LOCK
Date
Msg-id 23413.963421596@sss.pgh.pa.us
Whole thread Raw
In response to Opposite of LOCK  (Antti Linno <alligator@all.ee>)
List pgsql-sql
Antti Linno <alligator@all.ee> writes:
> Is there any possibility to unlock tables after they've been locked? The
> manual part of lock was fuzzy, so I ask from experts instead. MySQL
> uses lock and unlock.

Locks are released at transaction commit/abort.  It has to be that way
to preserve transaction semantics.  I'll refrain from commenting about
MySQL's transaction support...
        regards, tom lane


pgsql-sql by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: date comparision ???
Next
From: DATAPUC-Frederico Papatella Guerino
Date:
Subject: SQL