Re: ToDo: list of active channels - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: ToDo: list of active channels
Date
Msg-id 201107120103.p6C135402116@momjian.us
Whole thread Raw
In response to ToDo: list of active channels  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule wrote:
> Hello
> 
> I use a LISTEN/NOTIFY. Now I have to check, if second application that
> creates channels is active. It should be simple with system view of
> active channels.

I think you want pg_listening_channels().

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: txid_current() forces a real xid
Next
From: Chris Travers
Date:
Subject: Re: [GENERAL] Creating temp tables inside read only transactions