From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Cc: pgsql-bugs@postgresql.org
Cc: Joe Conway <mail@joeconway.com>
Subject: Re: PL/R Median Busts Commit (Postgres 9.1.6 + plr 8.3.0.13 on Ubuntu 12.10 64 bit)
Date: Thu, 24 Jan 2013 19:49:20 -0500
Message-ID: <29635.1359074960@sss.pgh.pa.us> (raw)
In-Reply-To: <5101D43F.90102@catalyst.net.nz>
References: <5100B6B2.8030408@catalyst.net.nz>
<51014FCB.30601@joeconway.com>
<5101A3DA.5080507@catalyst.net.nz>
<5101A47D.6050508@catalyst.net.nz>
<25545.1359062304@sss.pgh.pa.us>
<5101A7D1.6040703@catalyst.net.nz>
<25945.1359063403@sss.pgh.pa.us>
<5101B8AF.3090307@catalyst.net.nz>
<28888.1359072381@sss.pgh.pa.us>
<5101D43F.90102@catalyst.net.nz>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Mark Kirkwood <mark.kirkwood@catalyst.net.nz> writes:
> On 25/01/13 13:06, Tom Lane wrote:
>> Unless libR can be coerced into not screwing up our signal handlers,
>> I'd say that PL/R is broken beyond repair. That would be unfortunate.
> It looks like Joe has run into something similar with libR stealing
> SIGINT, he reinstalls it. A simple patch along the same lines for
> SIGUSR1 (attached) seems to fix the issue.
This certainly is not good enough, for either signal. What happens if
the signal arrives while libR still has control? These things being
asynchronous with respect to the receiving backend, we certainly can't
assume that that won't happen.
Why does libR think it should be messing with these handlers in the
first place?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, mark.kirkwood@catalyst.net.nz, mail@joeconway.com
Subject: Re: PL/R Median Busts Commit (Postgres 9.1.6 + plr 8.3.0.13 on Ubuntu 12.10 64 bit)
In-Reply-To: <29635.1359074960@sss.pgh.pa.us>
References: <5100B6B2.8030408@catalyst.net.nz> <51014FCB.30601@joeconway.com> <5101A3DA.5080507@catalyst.net.nz> <5101A47D.6050508@catalyst.net.nz> <25545.1359062304@sss.pgh.pa.us> <5101A7D1.6040703@catalyst.net.nz> <25945.1359063403@sss.pgh.pa.us> <5101B8AF.3090307@catalyst.net.nz> <28888.1359072381@sss.pgh.pa.us> <5101D43F.90102@catalyst.net.nz> <29635.1359074960@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox