pgsql: Remove column for wait event names in wait_event_names.txt

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Remove column for wait event names in wait_event_names.txt
Дата
Msg-id E1qdhKP-002bEg-R0@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove column for wait event names in wait_event_names.txt

This file is now made of two columns, removing the column listing the
user-visible strings used in the system views and the documentation:
- Enum definitions for each class without the prefix "WAIT_EVENT_", so
as this information can be grepped in the code and wait_event_names.txt
at the same time.
- Description in the documentation.

The wait event names are now generated from the enum objects in
CamelCase, with the underscores removed.  The data generated for wait
events is consistent with what was produced by 414f6c0fb79a.

This has the advantage to remove WAIT_EVENT_DOCONLY, which was a
placeholder for the wait event types Lock and LWLock as these two only
require the generation of the documentation.

Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/ZOxVHQwEC/9X/p/z@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/59cbf60c0f2b5723ce4a939077c99bf4e4c433d3

Modified Files
--------------
.../utils/activity/generate-wait_event_types.pl    |  40 +-
src/backend/utils/activity/wait_event_names.txt    | 502 ++++++++++-----------
2 files changed, 279 insertions(+), 263 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Use more consistent names for wait event objects and types
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Update list of acknowledgments in release notes