pg_backend_pid () → integerReturns the process ID of the server process attached to the current session.
Functions / System Information Functions And Operators
pg_backend_pid
Read the PG 18 manualReturns the process ID of the server process attached to the current session.
Reading PG 18current·documented in 19 of 27 versions, 8.4 to 20
Signatures & examples
Definition snapshot: b7bd9cda · English manual source