Re: ToDo: list of active channels

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ToDo: list of active channels
Date: 2011-07-12 01:03:05
Message-ID: 201107120103.p6C135402116@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Travers 2011-07-12 01:25:58 Re: [HACKERS] Creating temp tables inside read only transactions
Previous Message Bruce Momjian 2011-07-12 00:33:04 Re: txid_current() forces a real xid