pg_host Returns the host name associated with the connection &reftitle.description; stringpg_host PgSql\Connectionnullconnection&null; pg_host returns the host name of the given PostgreSQL connection instance is connected to. &reftitle.parameters; connection &pgsql.parameter.connection-with-nullable-default; &reftitle.returnvalues; A string containing the name of the host the connection is to, or an empty string on error. &reftitle.changelog; &Version; &Description; &pgsql.changelog.connection-object; 8.0.0 connection is now nullable. &reftitle.examples; <function>pg_host</function> example \n"; } else { print pg_last_error($pgsql_conn); exit; } ?> ]]> &reftitle.seealso; pg_connect pg_pconnect