Fujii Masao <masao.fujii@gmail.com> writes:
> But there is one issue; the extra search is always required to send a notify
> interrupt. This is because pg_listener doesn't have a backend ID and we
> cannot pass it to SendProcSignal. In order to solve this issue, we should
> newly add backend ID field into pg_listener?
Hmm. I'm not tremendously concerned about that --- the LISTEN/NOTIFY
code has been on the agenda for a complete rewrite for a long time now,
and I keep hoping pg_listener will go away entirely sometime soon.
I don't feel a need to go and fix a marginal performance issue there.
regards, tom lane