Re: Making wait events a bit more efficient

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Making wait events a bit more efficient
Дата
Msg-id 20210402204422.zhqa6abv7pibychl@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Making wait events a bit more efficient  (Zhihong Yu <zyu@yugabyte.com>)
Список pgsql-hackers
Hi,

On 2021-04-02 13:42:42 -0700, Zhihong Yu wrote:
> I don't see where my_wait_event_info is read (there is no getter method in
> the patch).

There are no reads via my_wait_event_info. Once connected to shared
memory, InitProcess() calls pgstat_set_wait_event_storage() to point it
to &MyProc->wait_event_info.

Greetings,

Andres Freund



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

Предыдущее
От: Zhihong Yu
Дата:
Сообщение: Re: Making wait events a bit more efficient
Следующее
От: "Joel Jacobson"
Дата:
Сообщение: [PATCH] Implement motd for PostgreSQL