Michael Paquier <michael(dot)paquier(at)gmail(dot)com> writes:
> After looking at bug #13128, I have been looking at the code around
> LWLockAcquire/Release to see if there are similar issues elsewhere.
> Here are my findings:
IIRC, we automatically release all LWLocks at the start of error recovery,
so I rather doubt that any of this is necessary.
regards, tom lane