PG15 beta1 fix pg_stat_recovery_prefetch view manual

Started by Shinoda, Noriyoshi (PN Japan FSIP)over 3 years ago2 messages
#1Shinoda, Noriyoshi (PN Japan FSIP)
noriyoshi.shinoda@hpe.com
1 attachment(s)

Hi hackers,
Thanks to all the developers. The attached patch updates the manual for the pg_stat_recovery_prefetch view.
The current pg_stat_recovery_prefetch view definition is missing the stats_reset column. The attached patch adds information in the stats_reset column.

https://www.postgresql.org/docs/15/monitoring-stats.html#MONITORING-PG-STAT-RECOVERY-PREFETCH

Regards,
Noriyoshi Shinoda

Attachments:

pg_stat_recovery_prefetch_doc_v1.diffapplication/octet-stream; name=pg_stat_recovery_prefetch_doc_v1.diffDownload
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index 56d9b37..4549c25 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -3012,6 +3012,17 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
      <row>
       <entry role="catalog_table_entry">
        <para role="column_definition">
+        <structfield>stats_reset</structfield> <type>timestamp with time zone</type>
+       </para>
+       <para>
+        Time at which these statistics were last reset
+       </para>
+      </entry>
+     </row>
+
+     <row>
+      <entry role="catalog_table_entry">
+       <para role="column_definition">
         <structfield>prefetch</structfield> <type>bigint</type>
        </para>
        <para>
#2Thomas Munro
thomas.munro@gmail.com
In reply to: Shinoda, Noriyoshi (PN Japan FSIP) (#1)
Re: PG15 beta1 fix pg_stat_recovery_prefetch view manual

On Sat, May 21, 2022 at 4:07 PM Shinoda, Noriyoshi (PN Japan FSIP)
<noriyoshi.shinoda@hpe.com> wrote:

Thanks to all the developers. The attached patch updates the manual for the pg_stat_recovery_prefetch view.
The current pg_stat_recovery_prefetch view definition is missing the stats_reset column. The attached patch adds information in the stats_reset column.

Ahh, thank you. I will push this soon.