Andrey Borodin <x4...@yandex-team.ru> writes: >> On 12 Sep 2022, at 18:18, Julien Rouhaud <rjuju...@gmail.com> wrote: >> That being >> said I don't know if adding a timeout would be too expensive for the lwlock >> infrastructure.
I want to object fiercely to loading down LWLock with anything like timeouts. It's supposed to be "lightweight". If we get away from that we're just going to find ourselves needing another lighter-weight lock mechanism. regards, tom lane