Re: Autogenerate some wait events code and documentation

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Autogenerate some wait events code and documentation
Дата
Msg-id ZKuVKPB+rwYH5cuw@paquier.xyz
обсуждение исходный текст
Ответ на Re: Autogenerate some wait events code and documentation  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Ответы Re: Autogenerate some wait events code and documentation
Список pgsql-hackers
On Mon, Jul 10, 2023 at 07:05:30AM +0200, Drouvot, Bertrand wrote:
> Yeah there is one in generate-wait_event_types.pl. I was wondering
> to add one in wait_event_names.txt too (as this is the place where
> no wait events would be added if any).

Hmm.  Something like that could be done, for instance:

 #   src/backend/utils/activity/wait_event_types.h
-#      typedef enum definitions for wait events.
+#      typedef enum definitions for wait events, generated from the first
+#      field.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Add hint message for check_log_destination()
Следующее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: Autogenerate some wait events code and documentation