heaps/deadlock_retry — comment on commit d2215718d535fdf53a30c813d44c5bea412551ab
File:  line 0
By jamis:

By making this override execute instead of transaction, this can no longer recover within nested transactions. This reduces the utility of this plugin significantly. Before, it would see that it was inside a nested transaction, and reraise until the outermost transaction caught it. The outermost transaction would then retry. This is no longer the case, it appears; a deadlock in a nested transaction now aborts the entire thing and gives up.