|
|
|
@ -46,8 +46,8 @@ |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
The statistics gathered by the module are made available via a |
|
|
|
The statistics gathered by the module are made available via a |
|
|
|
view named <structname>pg_stat_statements</structname>. This view |
|
|
|
view named <structname>pg_stat_statements</structname>. This view |
|
|
|
contains one row for each distinct database ID, user ID and query |
|
|
|
contains one row for each distinct database ID, user ID, query ID and |
|
|
|
ID (up to the maximum number of distinct statements that the module |
|
|
|
toplevel (up to the maximum number of distinct statements that the module |
|
|
|
can track). The columns of the view are shown in |
|
|
|
can track). The columns of the view are shown in |
|
|
|
<xref linkend="pgstatstatements-columns"/>. |
|
|
|
<xref linkend="pgstatstatements-columns"/>. |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
@ -93,6 +93,8 @@ |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
True if the query was executed as a top level statement |
|
|
|
True if the query was executed as a top level statement |
|
|
|
|
|
|
|
(if <varname>pg_stat_statements.track</varname> is set to |
|
|
|
|
|
|
|
<literal>all</literal>, otherwise always false) |
|
|
|
</para></entry> |
|
|
|
</para></entry> |
|
|
|
</row> |
|
|
|
</row> |
|
|
|
|
|
|
|
|
|
|
|
|