Update documentation to match pg_stat_activity changes.

This commit is contained in:
Tom Lane 2010-04-26 19:56:55 +00:00
parent 132c40424a
commit 3456cf1831
1 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.79 2010/04/15 20:56:13 petere Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.80 2010/04/26 19:56:55 tgl Exp $ -->
<chapter id="monitoring">
<title>Monitoring Database Activity</title>
@ -235,9 +235,9 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
<entry><structname>pg_stat_activity</></entry>
<entry>One row per server process, showing database OID, database
name, process <acronym>ID</>, user OID, user name, application name,
current query, query's waiting status, time at which the current
transaction and current query began execution, time at which the
process was started, and client's address and port number.
client's address and port number, times at which the server process,
current transaction, and current query began execution, process's waiting
status, and text of the current query.
The columns that report data on the current query are available unless
the parameter <varname>track_activities</varname> has been turned off.
Furthermore, these columns are only visible if the user examining
@ -695,7 +695,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
<entry>
Returns a record of information about the backend with the specified pid, or
one record for each active backend in the system if <symbol>NULL</symbol> is
specified. The fields returned are the same as in the
specified. The fields returned are a subset of those in the
<structname>pg_stat_activity</structname> view.
</entry>
</row>