|
1 | 1 | <!--
|
2 |
| -$Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.19 2003/03/25 16:15:37 petere Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.20 2003/04/04 03:03:53 tgl Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <chapter id="monitoring">
|
@@ -208,9 +208,9 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
208 | 208 | which the current query began execution. The columns that report
|
209 | 209 | data on the current query are only available if the parameter
|
210 | 210 | <varname>stats_command_string</varname> has been turned on.
|
211 |
| - Furthermore, these columns can only be accessed by |
212 |
| - superusers; or when the user examining the view is the same as the user |
213 |
| - in the row; for others it reads as null. (Note that because of the |
| 211 | + Furthermore, these columns read as null unless the user examining |
| 212 | + the view is a superuser or the same as the user owning the process |
| 213 | + being reported on. (Note that because of the |
214 | 214 | collector's reporting delay, current query will only be up-to-date for
|
215 | 215 | long-running queries.)</entry>
|
216 | 216 | </row>
|
@@ -540,16 +540,16 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
540 | 540 |
|
541 | 541 | <row>
|
542 | 542 | <entry><literal><function>pg_stat_get_backend_activity_start</function>(<type>integer</type>)</literal></entry>
|
543 |
| - <entry><type>text</type></entry> |
| 543 | + <entry><type>timestamp with time zone</type></entry> |
544 | 544 | <entry>
|
545 |
| - The time at which the specified backend process' currently |
546 |
| - executing query was started (null if the current user is not a |
547 |
| - superuser, or <varname>stats_command_string</varname> is not |
548 |
| - on) |
| 545 | + The time at which the given backend process' currently |
| 546 | + executing query was started (null if the |
| 547 | + current user is not a superuser nor the same user as that of |
| 548 | + the session being queried, or |
| 549 | + <varname>stats_command_string</varname> is not on) |
549 | 550 | </entry>
|
550 | 551 | </row>
|
551 | 552 |
|
552 |
| - |
553 | 553 | <row>
|
554 | 554 | <entry><literal><function>pg_stat_reset</function>()</literal></entry>
|
555 | 555 | <entry><type>boolean</type></entry>
|
|
0 commit comments