pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: pgsql-docs@lists.postgresql.org
Subject: descriptions of pg_stat_user_functions and pg_stat_slru
Date: Wed, 20 May 2020 10:29:55 +0900
Message-ID: <6f8a482c-b3fa-4ed9-21c3-6d222a2cb87d@oss.nttdata.com> (raw)

Hi,

In monitoring.sgml, there are the tables and corresponding descriptions
for pg_stat_user_functions and pg_stat_slru views. I found that those
descriptions are located in opposite places. For example, the description
for pg_stat_user_functions wrongly comes just after the table for
pg_stat_slru view. Attached patch fixes this issue.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Attachments:

monitoring_docfix.patch (text/plain, 1.8K) download diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index acc6e2bc31..4810c4a0f1 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -4249,16 +4249,11 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i </tgroup> </table> - <indexterm> - <primary>SLRU</primary> - </indexterm> - <para> - <productname>PostgreSQL</productname> accesses certain on-disk information - via <firstterm>SLRU</firstterm> (simple least-recently-used) caches. - The <structname>pg_stat_slru</structname> view will contain - one row for each tracked SLRU cache, showing statistics about access - to cached pages. + The <structname>pg_stat_user_functions</structname> view will contain + one row for each tracked function, showing statistics about executions of + that function. The <xref linkend="guc-track-functions"/> parameter + controls exactly which functions are tracked. </para> <table id="pg-stat-slru-view" xreflabel="pg_stat_slru"> @@ -4362,11 +4357,16 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i </tgroup> </table> + <indexterm> + <primary>SLRU</primary> + </indexterm> + <para> - The <structname>pg_stat_user_functions</structname> view will contain - one row for each tracked function, showing statistics about executions of - that function. The <xref linkend="guc-track-functions"/> parameter - controls exactly which functions are tracked. + <productname>PostgreSQL</productname> accesses certain on-disk information + via <firstterm>SLRU</firstterm> (simple least-recently-used) caches. + The <structname>pg_stat_slru</structname> view will contain + one row for each tracked SLRU cache, showing statistics about access + to cached pages. </para> </sect2>

view thread (10+ messages)  latest in thread

Message-ID: <6f8a482c-b3fa-4ed9-21c3-6d222a2cb87d@oss.nttdata.com>
Permalink:  ../6f8a482c-b3fa-4ed9-21c3-6d222a2cb87d@oss.nttdata.com/
Also on:    postgresql.org/message-id/6f8a482c-b3fa-4ed9-21c3-6d222a2cb87d@oss.nttdata.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: masao.fujii@oss.nttdata.com, pgsql-docs@lists.postgresql.org
  Subject: Re: descriptions of pg_stat_user_functions and pg_stat_slru
  In-Reply-To: <6f8a482c-b3fa-4ed9-21c3-6d222a2cb87d@oss.nttdata.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox