From 66782364a14b125fd26fc447e3c32d272ede4db4 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 10 Apr 2008 13:34:33 +0000 Subject: [PATCH] Mention pg_backend_pid() in the system information section in addition to the monitoring section. Jim Nasby --- doc/src/sgml/func.sgml | 11 ++++++++++- 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 097e0560ce..c15de7b1c9 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -10746,6 +10746,15 @@ select current_date + s.a as dates from generate_series(0,14,7) as s(a); text of the currently executing query (might contain more than one statement) + + + pg_backend_pid() + int + + Process ID of the server process attached to the current session + + + inet_client_addr() inet diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index a1debcced0..f634d81842 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1,4 +1,4 @@ - + Monitoring Database Activity @@ -664,6 +664,7 @@ postgres: user database host + pg_backend_pid() integer -- 2.39.5