4 dblink_get_notify — retrieve async notifications on a connection
8 dblink_get_notify() returns setof (notify_name text, be_pid int, extra text)
9 dblink_get_notify(text connname) returns setof (notify_name text, be_pid int, ex
14 dblink_get_notify retrieves notifications on either the unnamed
15 connection, or on a named connection if specified. To receive
16 notifications via dblink, LISTEN must first be issued, using
17 dblink_exec. For details see LISTEN and NOTIFY.
22 The name of a named connection to get notifications on.
26 Returns setof (notify_name text, be_pid int, extra text), or an empty
31 SELECT dblink_exec('LISTEN virtual');
37 SELECT * FROM dblink_get_notify();
38 notify_name | be_pid | extra
39 -------------+--------+-------
45 SELECT * FROM dblink_get_notify();
46 notify_name | be_pid | extra
47 -------------+--------+-------