Re: Enhancing Memory Context Statistics Reporting - Mailing list pgsql-hackers

From Rahila Syed
Subject Re: Enhancing Memory Context Statistics Reporting
Date
Msg-id CAH2L28s+s4JJdPz2RkALzOvXpxXUcmm=fvg-Y6M82g9Cp=bB-w@mail.gmail.com
Whole thread Raw
In response to Re: Enhancing Memory Context Statistics Reporting  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Enhancing Memory Context Statistics Reporting
List pgsql-hackers
Hi Daniel,



After a bit more polish I landed with the attached, which I most likely will go
ahead with after another round in CI.

Thank you for refining the code. The changes look good to me.
Regression tests ran smoothly in parallel with the memory monitoring function,
pgbench results with the following custom script also shows good performance.
```
SELECT * FROM pg_get_process_memory_contexts(
  (SELECT pid FROM pg_stat_activity
    ORDER BY random() LIMIT 1)
  , false, 5);
```

Thank you,
Rahila Syed 

pgsql-hackers by date:

Previous
From: Sutou Kouhei
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Next
From: Kyotaro Horiguchi
Date:
Subject: Make prep_status() message translatable