Re: Enhancing Memory Context Statistics Reporting

Поиск
Список
Период
Сортировка
От Rahila Syed
Тема Re: Enhancing Memory Context Statistics Reporting
Дата
Msg-id CAH2L28uL=Vm9E4Uf=tkg2Ki7_uDuAXORHVyCA7K_L=PAQ2p4sA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Enhancing Memory Context Statistics Reporting  (torikoshia <torikoshia@oss.nttdata.com>)
Список pgsql-hackers
Hi, 
 

   =# select  pg_get_process_memory_contexts(pg_backend_pid(), true, 1)
from pg_stat_activity ;

    pg_get_process_memory_contexts
   --------------------------------
   (0 rows)

   Time: 6026.291 ms (00:06.026)

Since v32 patch quickly returned the memory contexts as expected with
the same parameter specified, there seems to be some degradation. Could
you check it?

Thank you for reporting this failure. This issue was a regression caused by the absence of a
ConditionVariableSignal() call in the summary = true code path,
which happened due to recent code refactoring.

PFA the fix.

Thank you,
Rahila Syed

Вложения

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