pg_get_notify()
gets notify message sent by
NOTIFY
SQL command. To recieve nofigy messages,
LISTEN
SQL command must be issued. If there is notify message on the
connection, array contains message name and backend PID is
returned. If there is no message,
FALSE
is returned.
See also
pg_get_pid()