Обсуждение: ToDo: list of active channels

Поиск
Список
Период
Сортировка

ToDo: list of active channels

От
Pavel Stehule
Дата:
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.

Regards

Pavel Stehule


Re: ToDo: list of active channels

От
Bruce Momjian
Дата:
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. +