Sendcloud interview question

How to handle concurrent transactions on Postgresql?