this is not a draft anymore
This commit is contained in:
parent
12e7669dc8
commit
080855660c
|
@ -2,7 +2,7 @@
|
|||
title = "fast application locks"
|
||||
date = "2015-12-16T16:15:44+00:00"
|
||||
author = "Gibheer"
|
||||
draft = true
|
||||
draft = false
|
||||
+++
|
||||
|
||||
This week I was looking for a mechanism to build an application specific lock in postgres. I did know about `pg_try_advisory_lock(long)` and `pg_try_advisory_lock(int, int)`, but could not figure out a good mechanism until I found depesz blog entry about [how to pick a task of a list](http://www.depesz.com/2013/08/30/pick-a-task-to-work-on/).
|
||||
|
|
Loading…
Reference in New Issue