Skip site navigation (1) Skip section navigation (2)

Re: Opposite of LOCK

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Antti Linno <alligator(at)all(dot)ee>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Opposite of LOCK
Date: 2000-07-12 17:06:36
Message-ID: 23413.963421596@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-sql
Antti Linno <alligator(at)all(dot)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

In response to

pgsql-sql by date

Next:From: DATAPUC-Frederico Papatella GuerinoDate: 2000-07-12 17:11:57
Subject: SQL
Previous:From: Ross J. ReedstromDate: 2000-07-12 16:55:56
Subject: Re: date comparision ???

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group