(PHP 4 >= 4.3.0, PHP 5, PHP 7)
pg_get_pid — Ping ���ݿ�����
$connection
) : intpg_get_pid() ȡ�ú�ˣ����ݿ���������̣��� PID��PID ����������������Ƿ����� NOTIFY ��Ϣ��
Example #1 PostgreSQL ��� PID
<?php
$conn = pg_pconnect("dbname=publisher");
if (!$conn) {
echo "An error occured.\n";
exit;
}
// Backend process PID. Use PID with pg_get_notify()
$pid = pg_get_pid($conn);
?>
�μ� pg_get_notify()��