pg_connect_poll

(PHP 5 >= 5.6.0, PHP 7)

pg_connect_poll ���ڽ��г�����ѯ PostgreSQL ����״̬��

˵��

pg_connect_poll ([ resource $connection ] ) : int

pg_connect_poll() ��ѯʹ�� pg_connect() ������ PostgreSQL ����״̬������ PGSQL_CONNECT_ASYNC ѡ��

����

connection

PostgreSQL ���ݿ�������Դ

����ֵ

���س��� PGSQL_POLLING_FAILED, PGSQL_POLLING_READING, PGSQL_POLLING_WRITING, PGSQL_POLLING_OK, ���� PGSQL_POLLING_ACTIVE.