diff --git a/doc/src/sgml/pgstatstatements.sgml b/doc/src/sgml/pgstatstatements.sgml
index a0c315aa97..bc2b6038ee 100644
--- a/doc/src/sgml/pgstatstatements.sgml
+++ b/doc/src/sgml/pgstatstatements.sgml
@@ -46,8 +46,8 @@
The statistics gathered by the module are made available via a
view named pg_stat_statements. This view
- contains one row for each distinct database ID, user ID and query
- ID (up to the maximum number of distinct statements that the module
+ 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
.
@@ -93,6 +93,8 @@
True if the query was executed as a top level statement
+ (if pg_stat_statements.track is set to
+ all, otherwise always false)