@@ -4717,22 +4717,51 @@ description | Waiting for a newly initialized WAL file to reach durable storage
4717
4717
</para>
4718
4718
<para>
4719
4719
Resets some cluster-wide statistics counters to zero, depending on the
4720
- argument. The argument can be <literal>bgwriter</literal> to reset
4721
- all the counters shown in
4722
- the <structname>pg_stat_bgwriter</structname> view,
4723
- <literal>checkpointer</literal> to reset all the counters shown in
4724
- the <structname>pg_stat_checkpointer</structname> view,
4725
- <literal>archiver</literal> to reset all the counters shown in
4726
- the <structname>pg_stat_archiver</structname> view,
4727
- <literal>io</literal> to reset all the counters shown in the
4728
- <structname>pg_stat_io</structname> view,
4729
- <literal>wal</literal> to reset all the counters shown in the
4730
- <structname>pg_stat_wal</structname> view or
4731
- <literal>recovery_prefetch</literal> to reset all the counters shown
4732
- in the <structname>pg_stat_recovery_prefetch</structname> view.
4733
- If <parameter>target</parameter> is <literal>NULL</literal> or
4734
- is not specified, all the counters from the views listed above are
4735
- reset.
4720
+ argument. <parameter>target</parameter> can be:
4721
+ <itemizedlist>
4722
+ <listitem>
4723
+ <para>
4724
+ <literal>archiver</literal>: Reset all the counters shown in the
4725
+ <structname>pg_stat_archiver</structname> view.
4726
+ </para>
4727
+ </listitem>
4728
+ <listitem>
4729
+ <para>
4730
+ <literal>bgwriter</literal>: Reset all the counters shown in the
4731
+ <structname>pg_stat_bgwriter</structname> view.
4732
+ </para>
4733
+ </listitem>
4734
+ <listitem>
4735
+ <para>
4736
+ <literal>checkpointer</literal>: Reset all the counters shown in the
4737
+ <structname>pg_stat_checkpointer</structname> view.
4738
+ </para>
4739
+ </listitem>
4740
+ <listitem>
4741
+ <para>
4742
+ <literal>io</literal>: Reset all the counters shown in the
4743
+ <structname>pg_stat_io</structname> view.
4744
+ </para>
4745
+ </listitem>
4746
+ <listitem>
4747
+ <para>
4748
+ <literal>recovery_prefetch</literal>: Reset all the counters shown in
4749
+ the <structname>pg_stat_recovery_prefetch</structname> view.
4750
+ </para>
4751
+ </listitem>
4752
+ <listitem>
4753
+ <para>
4754
+ <literal>wal</literal>: Reset all the counters shown in the
4755
+ <structname>pg_stat_wal</structname> view.
4756
+ </para>
4757
+ </listitem>
4758
+ <listitem>
4759
+ <para>
4760
+ <literal>NULL</literal> or not specified: All the counters from the
4761
+ views listed above are reset.
4762
+ </para>
4763
+ </listitem>
4764
+ </itemizedlist>
4736
4765
</para>
4737
4766
<para>
4738
4767
This function is restricted to superusers by default, but other users