Alexey Nalbat <nalbat(at)price(dot)ru> writes:> I've encountered deadlock on postgresql 8.1. Here is the simple example.
Your example doesn't deadlock for me ...
regards, tom lane