James Mansion <james@mansionfamily.plus.com> writes:
> I was looking at the notify processing in async.c and I noticed that
> kill is called whether or not the
> process has been signalled already, and whether or not 'this' process
> has signalled the process.
> It seems unecessary to me -
It's not that easy to be sure of either of those conditions.
The notify code needs to be dumped and rewritten from scratch
--- I see little point in marginal optimizations, and none at
all in doing anything while the pg_listener table is still used
as communication mechanism.
regards, tom lane