0
0
Fork 0

this is not a draft anymore

This commit is contained in:
Gibheer 2015-12-16 16:49:48 +01:00
parent 12e7669dc8
commit 080855660c
1 changed files with 1 additions and 1 deletions

View File

@ -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/).