transaction level should be serializable with 
psycopg2==2.5