ToDo: list of active channels

Started by Pavel Stehulealmost 15 years ago2 messageshackers
Jump to latest
#1Pavel 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

#2Bruce Momjian
bruce@momjian.us
In reply to: Pavel Stehule (#1)
Re: ToDo: list of active channels

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. +