postgres.git / summary / log / commit / refs
commit 3b57d5af7435d0d21bdec392dc1ce7c13871df8b
Author: Magnus Hagander <magnus@hagander.net>
Date: Wed Jul 14 09:04:15 2021 +0000
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
doc/src/sgml/pgstatstatements.sgml | 7 ++++---
1 file 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>
[parent: 0c83eb2e0edb]