pg_socket

(PHP 5 >= 5.6.0, PHP 7)
Get a read only handle to the socket underlying a PostgreSQL connection
resource pg_socket ( resource $connection )

pg_socket() returns a read only resource corresponding to the socket underlying the given PostgreSQL connection.

Parameters:
connection

PostgreSQL database connection resource.

Returns:

A socket resource on success or FALSE on failure.

This function is currently not documented; only its argument list is available.

doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.