Use pgstat_kind_infos to read fixed shared stats structs

Поиск
Список
Период
Сортировка
От Tristan Partin
Тема Use pgstat_kind_infos to read fixed shared stats structs
Дата
Msg-id D12SQ7OYCD85.20BUVF3DWU5K7@neon.tech
обсуждение исходный текст
Ответы Re: Use pgstat_kind_infos to read fixed shared stats structs
Re: Use pgstat_kind_infos to read fixed shared stats structs
Список pgsql-hackers
Instead of needing to be explicit, we can just iterate the
pgstat_kind_infos array to find the memory locations to read into.

This was originally thought of by Andres in
5891c7a8ed8f2d3d577e7eea34dacff12d7b6bbd.

Not a fix, per se, but it does remove a comment. Perhaps the discussion
will just lead to someone deleting the comment, and keeping the code
as is. Either way, a win :).

--
Tristan Partin
Neon (https://neon.tech)

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: On disable_cost
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Removing unneeded self joins