Re: Considering signal handling in plpython again

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Hubert Zhang <hzhang(at)pivotal(dot)io>
Cc: Robert Eckhardt <reckhardt(at)pivotal(dot)io>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Considering signal handling in plpython again
Date: 2018-05-14 10:40:31
Message-ID: df60b3fe-63fa-2d98-8c74-3e63f2d5f9e3@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 14/05/18 10:56, Hubert Zhang wrote:
> For nested SPI case, one option is to turn off the bool variable when
> entering the SPI function(PLy_spi_prepare, PLy_spi_execute, PLy_cursor etc.)
> and turn on the bool variable again when exiting the SPI function.

Yeah, that seems reasonable.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2018-05-14 11:10:18 Re: Postgres 11 release notes
Previous Message Daniel Gustafsson 2018-05-14 09:45:19 Incorrect path in header comment identification