array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.pg-socket.php', 1 => 'pg_socket', 2 => 'Get a read only handle to the socket underlying a PostgreSQL connection', ), 'up' => array ( 0 => 'ref.pgsql.php', 1 => 'PostgreSQL Funzioni', ), 'prev' => array ( 0 => 'function.pg-set-error-verbosity.php', 1 => 'pg_set_error_verbosity', ), 'next' => array ( 0 => 'function.pg-trace.php', 1 => 'pg_trace', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/pgsql/functions/pg-socket.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.6.0, PHP 7, PHP 8)
pg_socket — Get a read only handle to the socket underlying a PostgreSQL connection
pg_socket() returns a read only resource corresponding to the socket underlying the given PostgreSQL connection.
Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.
connection
An PgSql\Connection instance.
A socket resource on success o false
in caso di fallimento.
Versione | Descrizione |
---|---|
8.1.0 |
The connection parameter expects an PgSql\Connection
instance now; previously, a resource was expected.
|