Re: Generate pg_stat_get_xact*() functions with Macros

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Generate pg_stat_get_xact*() functions with Macros
Дата
Msg-id ZCE6X6nsjkaDwz3o@paquier.xyz
обсуждение исходный текст
Ответ на Re: Generate pg_stat_get_xact*() functions with Macros  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Ответы Re: Generate pg_stat_get_xact*() functions with Macros
Список pgsql-hackers
On Mon, Mar 27, 2023 at 07:45:26AM +0200, Drouvot, Bertrand wrote:
> Thanks! LGTM, but what about also taking care of pg_stat_get_xact_function_total_time()
> and pg_stat_get_xact_function_self_time() while at it?

With a macro that uses INSTR_TIME_GET_MILLISEC() to cope with
instr_time?  Why not, that's one duplication less.
--
Michael

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Support logical replication of DDLs
Следующее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: Generate pg_stat_get_xact*() functions with Macros