| From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
|---|---|
| To: | Rahila Syed <rahilasyed90(at)gmail(dot)com> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Enhancing Memory Context Statistics Reporting |
| Date: | 2025-04-07 13:41:37 |
| Message-ID: | F50279EA-E138-4C93-BCF5-8B2FC338BFA1@yesql.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Following up on some off-list comments, attached is a v26 with a few small last
changes:
* Improved documentation (docs and comments)
* Fixed up Shmem sizing and init
* Delayed registering to the shmem cleanup to get it earlier in cleanup
* Renamed a few datastructures to improve readability
* Various bits of polish
I think this function can be a valuable debugging aid going forward.
--
Daniel Gustafsson
| Attachment | Content-Type | Size |
|---|---|---|
| v26-0001-Add-function-to-get-memory-context-stats-for-pro.patch | application/octet-stream | 63.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2025-04-07 13:43:01 | Re: ci: Allow running mingw tests by default via environment variable |
| Previous Message | Andres Freund | 2025-04-07 13:38:30 | Re: Add pg_buffercache_evict_all() and pg_buffercache_mark_dirty[_all]() functions |