Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> After some thought, the way I would handle this is by sending a slightly
> different kind of signal.
> We can send a shared invalidation message which means "end the
> transaction, whether or not you are currently running a statement".
No, a thousand times no. The sinval queue is an *utterly* inappropriate
mechanism for such a thing.
regards, tom lane