PostgreSQL advisory locks