(PHP 5 >= 5.6.0, PHP 7)
pg_socket — Get a read only handle to the socket underlying a PostgreSQL connection
$connection
) : resourcepg_socket() returns a read only resource corresponding to the socket underlying the given PostgreSQL connection.
锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷
connection
PostgreSQL database connection resource.
A socket resource on success 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE
.