Re: Orphaned wait event

Поиск
Список
Период
Сортировка
От Drouvot, Bertrand
Тема Re: Orphaned wait event
Дата
Msg-id 2b60c993-706c-f6a1-029d-341a7055aa66@gmail.com
обсуждение исходный текст
Ответ на Re: Orphaned wait event  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Hi,

On 3/23/23 11:00 PM, Thomas Munro wrote:
> I think if we want proper automation here we
> should look into a way to define wait events in a central file similar
> to what we do for src/backend/storage/lmgr/lwlocknames.txt.  It could
> give the enum name, the display name, and the documentation sentence
> on one tab-separated line, and we could generate all the rest from
> that, or something like that?  I suspect that downstream/monitoring
> tools might appreciate the existence of such a file too.

Yeah, I think that makes sense. I'll look at this and start a new
thread once I've a patch to share. FWIW, I'm also working on wait event "improvements"
(mainly adding extra info per wait event) that 1) I'll share once ready 2) could also probably
benefit from your proposal here.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Data is copied twice when specifying both child and parent table in publication
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Orphaned wait event