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

Attachment: v34-0001-Add-pg_get_process_memory_context-function.patch
Description: Binary data

Reply via email to