ToDo: list of active channels

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

ToDo: list of active channels

От:
Pavel Stehule <pavel.stehule@gmail.com>
Дата:
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 <bruce@momjian.us>
Дата:
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          http://momjian.us EnterpriseDB                             http://enterprisedb.com
 + It's impossible for everything to be true. +

FAQ