4.2. Connection Status Commands

pg_transaction_status — Get the current in-transaction status
pg_parameter_status — Get the value of a parameter from the database server
pg_backend_pid — Get the process ID (PID) of the backend
pg_server_version — Get the PostgreSQL server software version

The commands in this section are used to report information about a connection to the database.