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
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 4164d84..33869be 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1856,7 +1856,7 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i notification that this standby server has written and flushed it (but not yet applied it). This can be used to gauge the delay that <literal>synchronous_commit</literal> level - <literal>remote_flush</literal> incurred while committing if this + <literal>on</literal> incurred while committing if this server was configured as a synchronous standby.</entry> </row> <row>