pgstat: Flush some statistics within running transactions, take 2

Edit
ID 6781
Title pgstat: Flush some statistics within running transactions, take 2
CI (CFBot) Summary
Stats (from CFBot) Patch version: v5, Patch count: 1, First patch: +1163−139, All patches: +1163−139
Tags Monitoring
Created 2026-05-17 14:36:15
Last modified 2026-08-01 00:00:10 (1 week ago)
Latest email 2026-08-06 23:23:53 (yesterday)
Status
PG20-2 (2026-09-01 – 2026-09-30): Needs review
PG20-1 (2026-07-01 – 2026-07-31): Moved to different CF
Target version
Authors Sami Imseih (simseih)
Reviewers Become reviewer
Committer
Links
Emails
pgstat: Flush some statistics within running transactions, take 2
First at 2026-05-17 14:34:01 by Sami Imseih <samimseih at gmail.com>
Latest at 2026-08-06 23:23:53 by Sami Imseih <samimseih at gmail.com>
Latest attachment (nocfbot.test_custom_stats.patch) at 2026-08-06 23:23:53 from Sami Imseih <samimseih at gmail.com>
    Attachment (nocfbot.test_custom_stats.patch) at 2026-08-06 23:23:53 from Sami Imseih <samimseih at gmail.com> (Patch: No)
    Attachment (v4-0001-pgstat-Allow-pg_stat_force_next_flush-to-work-in-.patch) at 2026-08-06 01:22:55 from Sami Imseih <samimseih at gmail.com> (Patch: No)
    Attachment (v3-0001-pgstat-Allow-pg_stat_force_next_flush-to-work-in-.patch) at 2026-07-31 20:08:53 from Sami Imseih <samimseih at gmail.com> (Patch: No)
    Attachment (v2-0001-pgstat-Allow-pg_stat_force_next_flush-to-work-in-.patch) at 2026-07-30 19:41:58 from Sami Imseih <samimseih at gmail.com> (Patch: No)
    Attachment (v1-0001-pgstat-Introduce-pg_stat_report_anytime-for-mid-t.patch) at 2026-05-17 14:34:01 from Sami Imseih <samimseih at gmail.com> (Patch: Yes)
History
When Who What
2026-08-01 00:00:10 CFbot Moved from CF PG20-1 to CF PG20-2
2026-05-17 14:36:16 Sami Imseih (simseih) Attached mail thread CAA5RZ0uA-4qcD3+2hjcE_-zQUBhvWf5foPM2vzYneFKrJLsBDQ@mail.gmail.com
2026-05-17 14:36:15 Sami Imseih (simseih) Created patch record
Edit