Alexey Nalbat <nalbat@xxxxxxxx> writes: > Tom Lane wrote: >> Your example doesn't deadlock for me ... > With default value "deadlock_timeout=1000" error raises in first transaction: Then there's a typo in your example --- please recheck it. regards, tom lane