Re: Considering signal handling in plpython again - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Considering signal handling in plpython again
Date
Msg-id CA+TgmoaVcke33Kj=WDUER63A=fP-+F1vTO8qM4rLAsVeOqxHFA@mail.gmail.com
Whole thread Raw
In response to Re: Considering signal handling in plpython again  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On Thu, May 10, 2018 at 10:50 AM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> I came up with the attached patch, which is similar to Mario's, but it
> introduces a new "hook" for this.

I'd rather have the hook be executed whenever ProcessInterrupts() is
called, rather than only in the query-cancel case.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Considering signal handling in plpython again
Next
From: Alvaro Herrera
Date:
Subject: Re: Should we add GUCs to allow partition pruning to be disabled?