Обсуждение: How to query hostname of the server

Поиск
Список
Период
Сортировка

How to query hostname of the server

От
Péter Kovács
Дата:
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