(PHP 3, PHP 4 , PHP 5)
pg_host() returns the host name of the given PostgreSQL connection resource is connected to.