Re: Verifying LISTEN subscriptions? - Mailing list pgsql-general

From Deven Phillips
Subject Re: Verifying LISTEN subscriptions?
Date
Msg-id CAJw+4NAhOivupLU6_wwXB81MSFJBXmv1iN3y0MXmURf39v6YvA@mail.gmail.com
Whole thread Raw
In response to Verifying LISTEN subscriptions?  (Deven Phillips <deven.phillips@gmail.com>)
List pgsql-general
NVM, a quick search through the output of `\dfS` showed me the `pg_listening_channels()` function, which returns a TEXT[] of currently subscribed channels.


Cheers,

Deven

On Sat, Sep 17, 2016 at 8:45 AM, Deven Phillips <deven.phillips@gmail.com> wrote:
From a connection which has previously executed a LISTEN <channel> statement, is there a query which I can run which will tell me if it is still listening on those channels?

Thanks in advance!!

Deven Phillips

pgsql-general by date:

Previous
From: Deven Phillips
Date:
Subject: Verifying LISTEN subscriptions?
Next
From: Nikolai Zhubr
Date:
Subject: Re: Nonblocking libpq + openssl = ?