array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), '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 Функції', ), '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.
Наразі ця функція не документована. Доступний лише список її параметрів.
connectionПримірник PgSql\Connection.
A socket resource on success або false в разі помилки.
| Версія | Опис |
|---|---|
| 8.1.0 |
Тепер параметр connection має бути примірником
PgSql\Connection. Раніше очікувався resource.
|