This post has moved —
continue to /blog/postgres-locking-simplified-guide/