pg_listening_channels() is not returning the channels name
问题 1) i want to know the channels name which are listing on my database but pg_listening_channels() name always returning null value (blank) even some clients are listening on this database. below is my pgsql code. is any thing wrong in this code. CREATE OR REPLACE FUNCTION query_trigger() RETURNS trigger AS $BODY$ DECLARE send_message text; queryString text; channelNameArray text[]; channelNames text; BEGIN queryString = current_query(); channelNameArray = pg_listening_channels(); channelNames