I have used the pgjdbc-ng for Postgresql listen and notify.
I'd like to perform notify in the loop.
My example code:
FOR idx IN 0..3 LOOP
PERFORM pg_notify('q_event','test');
END LOOP;
I expect this using listen:
test test test
But I just receive one text.
I want to know it is possible. If then, teach me please. Thank you for your answer.