Simple demo for http://stackoverflow.com/questions/17052049/test-script-for-transaction-concurrency-for-postgresql/17055880#17055880