Re: Determine all listeners subscribed to notifcations and what channels - Mailing list pgsql-general

From Tom Lane
Subject Re: Determine all listeners subscribed to notifcations and what channels
Date
Msg-id 3998.1424210461@sss.pgh.pa.us
Whole thread Raw
In response to Determine all listeners subscribed to notifcations and what channels  (Cory Tucker <cory.tucker@gmail.com>)
Responses Re: Determine all listeners subscribed to notifcations and what channels
List pgsql-general
Cory Tucker <cory.tucker@gmail.com> writes:
> I'm interested in trying to figure out which channels have been subscribed
> to (using LISTEN).  From what I could tell via a little Googling, there
> used to be a table named pg_catalog.pg_listener that contained all this
> information, but that seems to have disappeared somewhere in the 9.x
> release (I'm using 9.3.x).

> Is there a way to find out which channels have listeners?

No, not any more --- that capability was intentionally given up in the
9.0 LISTEN/NOTIFY rewrite.  Not that it wouldn't be nice to have, but
the cost/benefit ratio was pretty awful.

            regards, tom lane


pgsql-general by date:

Previous
From: Igor Neyman
Date:
Subject: Re: Issue dumping schema using readonly user
Next
From: Adrian Klaver
Date:
Subject: Re: Starting new cluster from base backup