Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7531fcb

Browse files
committed
Mention that toplevel is part of pg_stat_statements key.
While at it, also document that toplevel is always true ifpg_stat_statements.track is set to top.Author: Julien RouhaudReported-By: Fujii MasaoDiscussion:https://postgr.es/m/a878d5ea-64a7-485e-5d2f-177618ebc52d@oss.nttdata.com
1 parentadd5fad commit7531fcb

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 andquery
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)

[8]ページ先頭

©2009-2025 Movatter.jp