Hello Michael, thanks for the review. > I am wondering if something like a pgstat_report_wait_swap() would be > more adapted?
That's simpler, thanks. Done in v10. > This is AI slop to me. None of this level of details is required. Agreed, removed. The commit messages are much shorter as well. And point taken on the agent. I'll check more carefully what goes out from now on. > Also, perhaps split your new API into a first patch, then write a > second patch that makes use of it. Done. 0001 adds pgstat_report_wait_swap(), 0002 uses it for the logging writes, and 0003 does the same for the Windows-only paths. Rebased on b0496e30830. -- Seongjun
v10-0002-Add-wait-events-for-server-logging-destination-w.patch
Description: Binary data
v10-0001-Add-pgstat_report_wait_swap.patch
Description: Binary data
v10-0003-Add-wait-events-for-Windows-specific-logging-out.patch
Description: Binary data
