pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Flush WAL stats in bgwriter 4+ messages / 1 participants [nested] [flat]
* pgsql: Flush WAL stats in bgwriter @ 2023-10-02 10:08 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 4+ messages in thread From: Heikki Linnakangas @ 2023-10-02 10:08 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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.g... Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e64c733bb1996e52a13f6fc4a1240703f607fa53 Modified Files -------------- src/backend/postmaster/bgwriter.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Flush WAL stats in bgwriter @ 2023-10-02 10:08 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 4+ messages in thread From: Heikki Linnakangas @ 2023-10-02 10:08 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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.g... Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4a97a43a73cbdb883b61161df35454696b96b336 Modified Files -------------- src/backend/postmaster/bgwriter.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Flush WAL stats in bgwriter @ 2023-10-02 10:08 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 4+ messages in thread From: Heikki Linnakangas @ 2023-10-02 10:08 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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.g... Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0684d1949fb43ec21480db627cd13a282ca41f6e Modified Files -------------- src/backend/postmaster/bgwriter.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Flush WAL stats in bgwriter @ 2023-10-02 10:08 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 4+ messages in thread From: Heikki Linnakangas @ 2023-10-02 10:08 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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.g... Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/594001864a36a1b9d24dec618cf5f629d7cc3caa Modified Files -------------- src/backend/postmaster/bgwriter.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2023-10-02 10:08 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-10-02 10:08 pgsql: Flush WAL stats in bgwriter Heikki Linnakangas <heikki.linnakangas@iki.fi> 2023-10-02 10:08 pgsql: Flush WAL stats in bgwriter Heikki Linnakangas <heikki.linnakangas@iki.fi> 2023-10-02 10:08 pgsql: Flush WAL stats in bgwriter Heikki Linnakangas <heikki.linnakangas@iki.fi> 2023-10-02 10:08 pgsql: Flush WAL stats in bgwriter Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox