]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Mention pg_backend_pid() in the system information section in addition
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 10 Apr 2008 13:34:33 +0000 (13:34 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 10 Apr 2008 13:34:33 +0000 (13:34 +0000)
to the monitoring section.

Jim Nasby

doc/src/sgml/func.sgml
doc/src/sgml/monitoring.sgml

index 097e0560ce22e997f4e9686599df739f4d2d9048..c15de7b1c9ec64e5d4fd5d932f9dd060046c467b 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.428 2008/04/07 00:51:27 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.429 2008/04/10 13:34:33 alvherre Exp $ -->
 
  <chapter id="functions">
   <title>Functions and Operators</title>
@@ -10746,6 +10746,15 @@ select current_date + s.a as dates from generate_series(0,14,7) as s(a);
        <entry>text of the currently executing query (might contain more than one statement)</entry>
       </row>  
 
+      <row>
+       <!-- See also the entry for this in monitoring.sgml -->
+       <entry><literal><function>pg_backend_pid</function>()</literal></entry>
+       <entry><type>int</type></entry>
+       <entry>
+        Process ID of the server process attached to the current session
+       </entry>
+      </row>
+
       <row>
        <entry><literal><function>inet_client_addr</function>()</literal></entry>
        <entry><type>inet</type></entry>
index a1debcced035754478fad2e602c335c858e8e73b..f634d818420746c8f6b782b38e18e7f4e20c5bd4 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.56 2008/03/25 22:50:27 neilc Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.57 2008/04/10 13:34:33 alvherre Exp $ -->
 
 <chapter id="monitoring">
  <title>Monitoring Database Activity</title>
@@ -664,6 +664,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
      </row>
 
      <row>
+       <!-- See also the entry for this in func.sgml -->
       <entry><literal><function>pg_backend_pid</function>()</literal></entry>
       <entry><type>integer</type></entry>
       <entry>