Re: Determine all listeners subscribed to notifcations and what channels

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cory Tucker <cory(dot)tucker(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Determine all listeners subscribed to notifcations and what channels
Date: 2015-02-17 22:01:01
Message-ID: 3998.1424210461@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cory Tucker <cory(dot)tucker(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-02-17 22:10:24 Re: Starting new cluster from base backup
Previous Message Igor Neyman 2015-02-17 21:29:43 Re: Issue dumping schema using readonly user