11 points · by mebcitto · 2y ago · 1 comment
Ive telling this to engineers in my org for such a long time, now I also have a nice article to share :)
BTW, you don't need the pg_sleep and hurry with the execution. Simple BEGIN and COMMIT/ROLLBACK will give you infinite wait time :)