On Thu, Mar 13, 2025 at 01:18:45PM +0000, Bertrand Drouvot wrote: > This particular sub-patch needs a rebase though, done in the attached. 0001 > remains unchanged as compared to the v4 one just shared up-thread. If 0001 > goes > in, merging 0002 would be less beneficial (as compared to v3).
PgStat_PendingIO is already quite large, could get larger, and the backend stats would be a natural victim of that. What you are proposing in v4-0002 is beneficial in any case outside of the specific problem of this thread with WAL senders. It is new code on HEAD and pgstat_flush_backend_entry_io() being the only entry point where IO data is appended makes it easy to reason about. Just to say that I am planning to apply this part on HEAD. -- Michael
signature.asc
Description: PGP signature