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 @@ - + 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 a1debcced03..f634d818420 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