host_id()
Returns the current session’s client process ID on the host computer where the client process runs.
Example
select host_id()