Re: Use WaitLatch for {pre, post}_auth_delay instead of pg_usleep

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Use WaitLatch for {pre, post}_auth_delay instead of pg_usleep
Дата
Msg-id YQH7uLYwTvNC2xyL@paquier.xyz
обсуждение исходный текст
Ответ на Re: Use WaitLatch for {pre, post}_auth_delay instead of pg_usleep  ("Bossart, Nathan" <bossartn@amazon.com>)
Ответы Re: Use WaitLatch for {pre, post}_auth_delay instead of pg_usleep
Список pgsql-hackers
On Wed, Jul 28, 2021 at 08:28:12PM +0000, Bossart, Nathan wrote:
> On 7/28/21, 11:32 AM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>> I follow the idea of using WaitLatch to ensure that the delays are
>> interruptible by postmaster signals, but even that isn't worth a
>> lot given the expected use of these things.  I don't see a need to
>> expend any extra effort on wait-reporting.
>
> +1.  The proposed patch doesn't make the delay visibility any worse
> than what's already there.

Agreed to just drop the patch (my opinion about this patch is
unchanged).  Not to mention that wait events are not available at SQL
level at this stage yet.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Out-of-memory error reports in libpq
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Emit namespace in post-copy output