resource pg_socket    ( resource $connection   )

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

connection

PostgreSQL database connection resource.