ParentFull threadKrugerDunnings·It is easy to avoid multiple workers processing the same task: `delete from task where id = (select id from task for update skip locked limit 1) returning *;`View on HN