Re: Considering signal handling in plpython again

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Hubert Zhang <hzhang(at)pivotal(dot)io>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Considering signal handling in plpython again
Date: 2018-05-10 14:59:16
Message-ID: CA+TgmoaVcke33Kj=WDUER63A=fP-+F1vTO8qM4rLAsVeOqxHFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 10, 2018 at 10:50 AM, Heikki Linnakangas <hlinnaka(at)iki(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-05-10 15:57:25 Re: Should we add GUCs to allow partition pruning to be disabled?
Previous Message Heikki Linnakangas 2018-05-10 14:50:06 Re: Considering signal handling in plpython again