Search Postgresql Archives

Re: Transaction-level advisory lock unlocking and transaction end

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Saimon Lim <aimon.slim@xxxxxxxxx> writes:
>> Transaction-level lock requests ... are automatically released at the end
>> of the transaction ...

>   So, what order will the use of transactions and unlock the lock?
> The transaction would be applied at first and the lock would be unlocked
> after it or vice versa?
> Or any order in this case is not guaranteed?

Locks are always released after the transaction has committed.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux