pg_get_notify(PHP 4 >= 4.3.0, PHP 5) pg_get_notify — Gets SQL NOTIFY message Descrição
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. Parâmetros
Valor RetornadoAn array containing the NOTIFY message name and backend PID. Otherwise if no NOTIFY is waiting, then FALSE is returned. Exemplos
Exemplo #1 PostgreSQL NOTIFY message
<?php |