pg_host
Description
string pg_host ( [resource connection] )
pg_host() returns the host name of the given
PostgreSQL connection resource is
connected to.
Parameters
connectionPostgreSQL database connection resource. When
connectionis not present, the default connection is used. The default connection is the last connection made by pg_connect() or pg_pconnect().
