On 2018-Jul-02, Michael Paquier wrote:
> Add wait event for fsync of WAL segments
>
> This has been visibly a forgotten spot in the first implementation of
> wait events for I/O added by 249cf07, and what has been missing is a
> fsync call for WAL segments which is a wrapper reacting on the value of
> GUC wal_sync_method.
I wonder if we should backpatch this one all the way to pg10. I don't
see no reason not to.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services