|
1 | 1 | <!--
|
2 |
| -$Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.16 2003/03/20 03:34:55 momjian Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.17 2003/03/20 18:51:16 momjian Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <chapter id="monitoring">
|
@@ -212,9 +212,10 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
212 | 212 | data on the current query are only available if the
|
213 | 213 | <varname>STATS_COMMAND_STRING</varname> configuration option has
|
214 | 214 | been enabled. Furthermore, these columns can only be accessed by
|
215 |
| - superusers; to other users, they always appear NULL. (Note that |
216 |
| - because of the collector's reporting delay, current query will |
217 |
| - only be up-to-date for long-running queries.)</entry> |
| 215 | + superusers; or when the user examining the view is the same as the user |
| 216 | + in the row; for others it reads as null. (Note that because of the |
| 217 | + collector's reporting delay, current query will only be up-to-date for |
| 218 | + long-running queries.)</entry> |
218 | 219 | </row>
|
219 | 220 |
|
220 | 221 | <row>
|
@@ -534,7 +535,8 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
534 | 535 | <entry><type>text</type></entry>
|
535 | 536 | <entry>
|
536 | 537 | Current query of backend process (NULL if caller is not
|
537 |
| - superuser, or <varname>STATS_COMMAND_STRING</varname> is not enabled) |
| 538 | + superuser, or is the same user as that of the backend being queried, |
| 539 | + or <varname>STATS_COMMAND_STRING</varname> is not enabled) |
538 | 540 | </entry>
|
539 | 541 | </row>
|
540 | 542 |
|
|
0 commit comments