Magnus Hagander wrote:
> Per previous discussions, here are two functions to send INT and TERM
> signals to other backends.They permit only INT and TERM, and permits
> sending only to postgresql backends (as registered in pgstat).
Why does this depend on pgstat? ISTM it would be better to use the
per-backend PGPROC information, which is stored in shared memory.
Consider TransactionIdIsInProgress() for an example.
-Neil