update : 2015.11.03
php.shukuma.com검색:
|
pg_get_notify(PHP 4 >= 4.3.0, PHP 5) pg_get_notify — Gets SQL NOTIFY message 설명
array pg_get_notify
( resource
$connection
[, int $result_type
] )pg_get_notify() gets notifications generated by a NOTIFY SQL command. To receive notifications, the LISTEN SQL command must be issued. 인수
반환값
An array containing the NOTIFY message name and backend PID.
Otherwise if no NOTIFY is waiting, then 예제
Example #1 PostgreSQL NOTIFY message
<?php |