Problem with lock? - Mailing list pgsql-general

From Bjørn T Johansen
Subject Problem with lock?
Date
Msg-id 1064918010.20427.31.camel@dt-btj.dagbladet.no
Whole thread Raw
Responses Re: Problem with lock?
Re: Problem with lock?
List pgsql-general
I run the following SQL before updating one table:

"lock table tablename"

but when I try do update the same table later on, the lock table command just hangs (i.e the table is already locked).
It was my understanding that this lock was removed when I call commit or do I have to explicitly unlock the table somehow?


Regards,

BTJ

pgsql-general by date:

Previous
From: strk
Date:
Subject: Re: [postgis-users] Union as an aggregate
Next
From: Bjørn T Johansen
Date:
Subject: Re: Problem with lock?