Further doc cleanups from the pg_stat_activity changes
authorMagnus Hagander
Fri, 20 Jan 2012 11:23:26 +0000 (12:23 +0100)
committerMagnus Hagander
Fri, 20 Jan 2012 11:23:26 +0000 (12:23 +0100)
Fujii Masao

doc/src/sgml/catalogs.sgml
doc/src/sgml/config.sgml
doc/src/sgml/func.sgml
doc/src/sgml/monitoring.sgml
src/backend/utils/misc/guc.c

index be4bbc736c745aefb0c6a3b757c91aadc6b7e8e9..ea98cb72aa12265d94c5be68616f22a655eec0f5 100644 (file)
 
   
    The pid column can be joined to the
-   procpid column of the
+   pid column of the
    pg_stat_activity view to get more
    information on the session holding or waiting to hold each lock.
    Also, if you are using prepared transactions, the
index 58e8ede239ffebcb526285cf563abe5d2f9829cd..e55b5035e264970d585ea7e63edf6df0fce5467b 100644 (file)
@@ -3857,7 +3857,7 @@ local0.*    /var/log/postgresql
          identifier from pg_stat_activity, use this query:
 
 SELECT to_hex(EXTRACT(EPOCH FROM backend_start)::integer) || '.' ||
-       to_hex(procpid)
+       to_hex(pid)
 FROM pg_stat_activity;
 
 
@@ -4153,7 +4153,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
        
        Specifies the number of bytes reserved to track the currently
        executing command for each active session, for the
-       pg_stat_activity.current_query field.
+       pg_stat_activity.query field.
        The default value is 1024. This parameter can only be set at server
        start.
        
index 43b72f695c2c2aa7723dfb9250849d2626c83fd9..48631cc341c83816859ac21612ad14bc9bd339cf 100644 (file)
@@ -14322,7 +14322,7 @@ SELECT set_config('log_statement_stats', 'off', false);
     send signals (SIGINT or SIGTERM
     respectively) to backend processes identified by process ID.
     The process ID of an active backend can be found from
-    the procpid column of the
+    the pid column of the
     pg_stat_activity view, or by listing the
     postgres processes on the server (using
     ps on Unix or the Task
index 225918019d634d2f7915b2d4adbd2f2aa2ba6ca2..dadfd24313c7928d188ec24040a24c8b20d69d95 100644 (file)
@@ -1462,8 +1462,8 @@ postgres: user database host 
    example, to show the PIDs and current queries of all server processes:
 
 
-SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,
-       pg_stat_get_backend_activity(s.backendid) AS current_query
+SELECT pg_stat_get_backend_pid(s.backendid) AS pid,
+       pg_stat_get_backend_activity(s.backendid) AS query
     FROM (SELECT pg_stat_get_backend_idset() AS backendid) AS s;
 
   
@@ -1670,7 +1670,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,
      statement-status
      (const char *)
      Probe that fires anytime the server process updates its
-      pg_stat_activity.current_query status.
+      pg_stat_activity.status.
       arg0 is the new status string.
     
     
index 5c910dd11240c701cbee61cbf29b9a73ba6090b5..9fc96b2126acc90498533484484c8da7f794eee3 100644 (file)
@@ -2362,7 +2362,7 @@ static struct config_int ConfigureNamesInt[] =
 
    {
        {"track_activity_query_size", PGC_POSTMASTER, RESOURCES_MEM,
-           gettext_noop("Sets the size reserved for pg_stat_activity.current_query, in bytes."),
+           gettext_noop("Sets the size reserved for pg_stat_activity.query, in bytes."),
            NULL,
        },
        &pgstat_track_activity_query_size,