Content-Length: 276335 | pFad | https://github.com/postgrespro/postgres/commit/7531fcb1fcf5b3ea2f49959a3f095c083e3fc4c4

A3 Mention that toplevel is part of pg_stat_statements key. · postgrespro/postgres@7531fcb · GitHub
Skip to content

Commit 7531fcb

Browse files
committed
Mention that toplevel is part of pg_stat_statements key.
While at it, also document that toplevel is always true if pg_stat_statements.track is set to top. Author: Julien Rouhaud Reported-By: Fujii Masao Discussion: https://postgr.es/m/a878d5ea-64a7-485e-5d2f-177618ebc52d@oss.nttdata.com
1 parent add5fad commit 7531fcb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/pgstatstatements.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
<para>
4747
The statistics gathered by the module are made available via a
4848
view named <structname>pg_stat_statements</structname>. This view
49-
contains one row for each distinct database ID, user ID and query
50-
ID (up to the maximum number of distinct statements that the module
49+
contains one row for each distinct database ID, user ID, query ID and
50+
toplevel (up to the maximum number of distinct statements that the module
5151
can track). The columns of the view are shown in
5252
<xref linkend="pgstatstatements-columns"/>.
5353
</para>
@@ -93,6 +93,8 @@
9393
</para>
9494
<para>
9595
True if the query was executed as a top level statement
96+
(if <varname>pg_stat_statements.track</varname> is set to
97+
<literal>all</literal>, otherwise always false)
9698
</para></entry>
9799
</row>
98100

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/7531fcb1fcf5b3ea2f49959a3f095c083e3fc4c4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy