9.0+ way of determining if a LISTEN channel has a backend listening? - Mailing list pgsql-sql

From James Robinson
Subject 9.0+ way of determining if a LISTEN channel has a backend listening?
Date
Msg-id 30AD2CDF-A92B-4437-84EF-7995C61492C8@socialserve.com
Whole thread Raw
Responses Re: 9.0+ way of determining if a LISTEN channel has a backend listening?
List pgsql-sql
Is there a way in post-9.0 postgres for one session to determine if a  
LISTEN channel currently has a backend registered to receive  
notifications? Prior to 9.0, one could select from system catalog  
table pg_listener.

Function pg_listening_channels() returns list of symbol names *this*  
session is listening on; I'd like to find out if a given listen  
channel has *any* (i.e other session) listeners.

Thanks!
----
James Robinson
Socialserve.com



pgsql-sql by date:

Previous
From: Dean le Roux
Date:
Subject: Re: problem with update data sets from front ends 8.4, Ubuntu 10.04
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: 9.0+ way of determining if a LISTEN channel has a backend listening?