summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2021-07-14 11:04:15 +0200
committerMagnus Hagander <magnus@hagander.net>2021-07-14 11:11:11 +0200
commit3b57d5af7435d0d21bdec392dc1ce7c13871df8b (patch)
tree4f2742765f71e6716b3b300dd4789e2007463bcc
parent0c83eb2e0edb42f54a37fdeac85fb80eb5de2cca (diff)
Clarify description of pg_stat_statements columns
Reported-By: Peter Eisentraut Backpatch-through: 14 Discussion: https://postgr.es/m/8f5e63b8-e8ed-0f80-d8c4-68222624c200@enterprisedb.com
-rw-r--r--doc/src/sgml/pgstatstatements.sgml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/sgml/pgstatstatements.sgml b/doc/src/sgml/pgstatstatements.sgml
index 1696a6e6369..542b197282c 100644
--- a/doc/src/sgml/pgstatstatements.sgml
+++ b/doc/src/sgml/pgstatstatements.sgml
@@ -42,9 +42,10 @@
<para>
The statistics gathered by the module are made available via a
view named <structname>pg_stat_statements</structname>. This view
- contains one row for each distinct database ID, user ID, query ID and
- toplevel (up to the maximum number of distinct statements that the module
- can track). The columns of the view are shown in
+ contains one row for each distinct combination of database ID, user
+ ID, query ID and whether it's a top level statement or not (up to
+ the maximum number of distinct statements that the module can track).
+ The columns of the view are shown in
<xref linkend="pgstatstatements-columns"/>.
</para>