(PHP 4 >= 4.2.0, PHP 5, PHP 7)
pg_connection_busy — ��֪�����Ƿ�Ϊæ
$connection
) : bool
pg_connection_busy() �ڴ�����״̬Ϊæ��ʱ�� TRUE
���������״̬Ϊæ��˵��ǰһ����ѯ��Ȼ��ִ�С�������� pg_get_result() �����Ļ�����ᱻ������
Example #1 pg_connection_busy() ����
<?php
$dbconn = pg_connect("dbname=publisher") or die("Could not connect");
$bs = pg_connection_busy($dbconn);
if ($bs) {
echo 'connection is busy';
}
else {
echo 'connection is not busy';
}
?>
�μ� pg_connection_status() �� pg_get_result()��