Re: pg_stat_statements locking - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_stat_statements locking
Date
Msg-id 1744580.1663005683@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_stat_statements locking  (Andrey Borodin <x4mmm@yandex-team.ru>)
Responses Re: pg_stat_statements locking
Re: pg_stat_statements locking
List pgsql-hackers
Andrey Borodin <x4mmm@yandex-team.ru> writes:
>> On 12 Sep 2022, at 18:18, Julien Rouhaud <rjuju123@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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Convert *GetDatum() and DatumGet*() macros to inline functions
Next
From: Peter Eisentraut
Date:
Subject: Re: PostgreSQL 15 release announcement draft