HI, PostgreSQL 9.5 added skip locked to select for update to improve concurrency performance, but why not add it to update sql? this is an application case, some body will update a tuple at the same time, so the RT for waiter is big, I use function and select for update nowait or advisory lock , can improve concurrency , but it's not very pure for developer. http://blog.163.com/digoal@126/blog/static/16387704020158149538415/
-- 公益是一辈子的事,I'm Digoal,Just Do It.