Thread: How to query hostname of the server

How to query hostname of the server

From
Péter Kovács
Date:
Hi,

I have a number of PostgreSQL servers which I often access through ssh tunnel with Pgadmin3. I would like to double check which one I have landed on (if the tunnel is really configured the way I want). Is there a way to query the hostname from the catalogs?

Thanks
Peter