Supported Versions: PHP 5 >= 5.6.0, PHP 7, PHP 8
Get a read only handle to the socket underlying a PostgreSQL connection
<?php pg_socket(PgSql\Connection $connection): resource|false