diff options
-rw-r--r-- | doc/src/sgml/func.sgml | 11 | ||||
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 097e0560ce2..c15de7b1c9e 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -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> @@ -10747,6 +10747,15 @@ select current_date + s.a as dates from generate_series(0,14,7) as s(a); </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> <entry>address of the remote connection</entry> diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index a1debcced03..f634d818420 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -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> |