pg_socket
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.6.0, PHP 7, PHP 8)
Get a read only handle to the socket underlying a PostgreSQL connection
Description
pg_socket(PgSql\Connection $connection): resource|false
pg_socket() returns a read only resource corresponding to the socket underlying the given PostgreSQL connection.
Func
Parameters
connectionConnection
Return Values
A socket resource on successFalseforfailure.
Changelog
| Version | Description |
|---|