dblink_get_notify(3) centos man page | unix.com

Man Page: dblink_get_notify

Operating Environment: centos

Section: 3

DBLINK_GET_NOTIFY(3)					  PostgreSQL 9.2.7 Documentation				      DBLINK_GET_NOTIFY(3)

NAME
dblink_get_notify - retrieve async notifications on a connection
SYNOPSIS
dblink_get_notify() returns setof (notify_name text, be_pid int, extra text) dblink_get_notify(text connname) returns setof (notify_name text, be_pid int, extra text)
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(7) and NOTIFY(7).
ARGUMENTS
conname 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
SELECT dblink_exec('LISTEN virtual'); dblink_exec ------------- LISTEN (1 row) SELECT * FROM dblink_get_notify(); notify_name | be_pid | extra -------------+--------+------- (0 rows) NOTIFY virtual; NOTIFY SELECT * FROM dblink_get_notify(); notify_name | be_pid | extra -------------+--------+------- virtual | 1229 | (1 row) PostgreSQL 9.2.7 2014-02-17 DBLINK_GET_NOTIFY(3)
Related Man Pages
listen(7) - centos
notify(7) - centos
unlisten(7) - centos
dblink_exec(3) - centos
unlisten(7) - suse
Similar Topics in the Unix Linux Community
Talend Open Profiler 1.2.0M1 (Development branch)
open ports and services
To get Port number alone from the list
Count number of match words
Cut down notifications from Nagios