On Mon, Sep 12, 2022 at 02:01:23PM -0400, Tom Lane wrote: > 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.
That's what I was thinking, so it looks like a show-stopper for the proposed patch.