PHP.nl

pg_socket

pg_socket

Get a read only handle to the socket underlying a PostgreSQL connection

 **pg_socket** PgSql\Connection $connection
returns a read only 

corresponding to the socket underlying the given PostgreSQL connection. pg_socket``resource

connectionA socket resource on successreturn.falseforfailure.