diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-09-04 08:34:51 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-09-04 08:34:51 +0900 |
commit | 09119238a18191dea3deed635a2b2a6ffe904932 (patch) | |
tree | 33d4f8a02c4c65973f3651e648e5079a8e46bcf6 /src/backend/executor/nodeNestloop.c | |
parent | e351e5c4fea463d9f96557913f7f767af3795c32 (diff) |
Fix incorrect comment in pgstat_backend.c
The counters saved from pgWalUsage, used for the difference calculations
when flushing the backend WAL stats, are updated when calling
pgstat_flush_backend() under PGSTAT_BACKEND_FLUSH_WAL, and not
pgstat_report_wal(). The comment updated in this commit referenced the
latter, but it is perfectly OK to flush the backend stats independently
of the WAL stats.
Noticed while looking at this area of the code, introduced by
76def4cdd7c2 as a copy-pasto.
Backpatch-through: 18
Diffstat (limited to 'src/backend/executor/nodeNestloop.c')
0 files changed, 0 insertions, 0 deletions