Re: Cancel/Kill backend functions - Mailing list pgsql-patches

From Neil Conway
Subject Re: Cancel/Kill backend functions
Date
Msg-id 40AF0876.4010604@samurai.com
Whole thread Raw
In response to Cancel/Kill backend functions  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
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

pgsql-patches by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: pg_autovacuum fixes
Next
From: Manfred Koizar
Date:
Subject: Build problems