Hacker News new | ask | show | jobs
by nierman 3879 days ago
note: there are also "skip locked" and "nowait" clauses in Postgres 9.5 for more flexibility when dealing with row level locking. This gives you the option of failing immediately (nowait) or just getting back the set of rows that aren't locked (skip locked).

https://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9....