dblink_get_notify
dblink_get_notify — retrieve async notifications on a connection
Synopsis
Description
dblink_get_notify
retrieves notifications on either the unnamed connection, or on a named connection if specified. To receive notifications via dblink, LISTEN
must first be issued, using dblink_exec
. For details see LISTEN and NOTIFY.
Arguments
connname
The name of a named connection to get notifications on.
Return Value
Returns setof (notify_name text, be_pid int, extra text)
, or an empty set if none.
Examples
Last updated