From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Flush WAL stats in bgwriter |
Date: | 2023-10-02 10:08:36 |
Message-ID: | E1qnFqu-0077AO-BC@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Flush WAL stats in bgwriter
bgwriter can write out WAL, but did not flush the WAL pgstat counters,
so the writes were not seen in pg_stat_wal.
Back-patch to v14, where pg_stat_wal was introduced.
Author: Nazir Bilal Yavuz
Reviewed-by: Matthias van de Meent, Kyotaro Horiguchi
Discussion: https://www.postgresql.org/message-id/CAN55FZ2FPYngovZstr%3D3w1KSEHe6toiZwrurbhspfkXe5UDocg%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e64c733bb1996e52a13f6fc4a1240703f607fa53
Modified Files
--------------
src/backend/postmaster/bgwriter.c | 1 +
1 file changed, 1 insertion(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2023-10-02 16:04:09 | pgsql: Remove retry loop in heap_page_prune(). |
Previous Message | Heikki Linnakangas | 2023-10-02 09:19:19 | pgsql: Add rmgrdesc README |