PHP » GoLang |
login |
register |
about
|
pg_get_notify(PHP 4 >= 4.3.0, PHP 5, PHP 7) pg_get_notify — Gets SQL NOTIFY message Description
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. Parameters
Return Values
An array containing the NOTIFY message name and backend PID.
As of PHP 5.4.0 and if supported by the server, the array also contains the server version and the payload.
Otherwise if no NOTIFY is waiting, then Examples
Example #1 PostgreSQL NOTIFY message
<?php |
more
Recently updated
more
Most requested
more
Last requests
|