Hello!
I have noticed that in description of *flush_lag* in pg_stat_replication
view
(https://www.postgresql.org/docs/current/monitoring-stats.html#PG-STAT-REPLICATION-VIEW)
there exists unknown value of synchronous_commit parameter -
*remote_flush*. I think it was meant to use the value *on*.
Small patch is attached.
--
Regards, Maksim Milyutin