(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 dei suoi argomenti.
connectionUn'istanza di PgSql\Connection.
A socket resource on success o false in caso di fallimento.
| Versione | Descrizione |
|---|---|
| 8.1.0 |
Il parametro connection ora si aspetta un'istanza di PgSql\Connection;
in precedenza, era attesa una resource.
|