Skip to content

Commit 6678236

Browse files
committed
Mention pg_backend_pid() in the system information section in addition
to the monitoring section. Jim Nasby
1 parent 02b2bc7 commit 6678236

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.428 2008/04/07 00:51:27 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.429 2008/04/10 13:34:33 alvherre Exp $ -->
22

33
<chapter id="functions">
44
<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);
1074610746
<entry>text of the currently executing query (might contain more than one statement)</entry>
1074710747
</row>
1074810748

10749+
<row>
10750+
<!-- See also the entry for this in monitoring.sgml -->
10751+
<entry><literal><function>pg_backend_pid</function>()</literal></entry>
10752+
<entry><type>int</type></entry>
10753+
<entry>
10754+
Process ID of the server process attached to the current session
10755+
</entry>
10756+
</row>
10757+
1074910758
<row>
1075010759
<entry><literal><function>inet_client_addr</function>()</literal></entry>
1075110760
<entry><type>inet</type></entry>

doc/src/sgml/monitoring.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.56 2008/03/25 22:50:27 neilc Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.57 2008/04/10 13:34:33 alvherre Exp $ -->
22

33
<chapter id="monitoring">
44
<title>Monitoring Database Activity</title>
@@ -664,6 +664,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
664664
</row>
665665

666666
<row>
667+
<!-- See also the entry for this in func.sgml -->
667668
<entry><literal><function>pg_backend_pid</function>()</literal></entry>
668669
<entry><type>integer</type></entry>
669670
<entry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy