Hannu Krosing <hannu@tm.ee> writes:
>> Right. But we play similar games already with the existing SI buffer,
>> to wit:
> It means a full seq scan over pointers ;)
I have not seen any indication that the corresponding scan in the SI
code is a bottleneck --- and that has to scan over *all* backends,
without even the opportunity to skip those that aren't LISTENing.
> OK. Now, how will we introduce transactional behaviour to this scheme ?
It's no different from before --- notify messages don't get into the
buffer at all, until they're committed. See my earlier response to Neil.
regards, tom lane