diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 48db5aec350..6a4cb9bb144 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -5936,6 +5936,24 @@ description | Waiting for a newly initialized WAL file to reach durable storage + + + + pg_stat_force_next_flush + + pg_stat_force_next_flush () + void + + + Forces the statistics accumulated by the current session to be + flushed to shared memory when the current transaction ends, + without waiting for the + PGSTAT_MIN_INTERVAL delay between flushes. This + is mainly useful in tests that need this flush to happen without + that delay. + + +