Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIfdg-0001BN-69 for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Feb 2014 14:39:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WIfdf-0004o3-I7 for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Feb 2014 14:39:11 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIfde-0004nw-GR for pgsql-bugs@postgresql.org; Wed, 26 Feb 2014 14:39:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIfdc-00065s-9D for pgsql-bugs@postgresql.org; Wed, 26 Feb 2014 14:39:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s1QEd5EF027474; Wed, 26 Feb 2014 09:39:06 -0500 From: Tom Lane To: Rainer Tammer cc: pgsql-bugs@postgresql.org, cbbrowne@gmail.com Subject: Re: Problem with PostgreSQL 9.2.7 and make check on AIX 7.1 In-reply-to: <530DA8CC.6060606@spg.schulergroup.com> References: <530B1EEC.1080402@spg.schulergroup.com> <8776.1393273299@sss.pgh.pa.us> <530C5312.3010508@spg.schulergroup.com> <32656.1393346132@sss.pgh.pa.us> <530CCD87.9080407@spg.schulergroup.com> <1179.1393348704@sss.pgh.pa.us> <530CD7C3.3090401@spg.schulergroup.com> <3853.1393352791@sss.pgh.pa.us> <530CE469.2080902@spg.schulergroup.com> <8974.1393354023@sss.pgh.pa.us> <530DA8CC.6060606@spg.schulergroup.com> Comments: In-reply-to Rainer Tammer message dated "Wed, 26 Feb 2014 09:41:48 +0100" Date: Wed, 26 Feb 2014 09:39:05 -0500 Message-ID: <27473.1393425545@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Rainer Tammer writes: > void > StatementCancelHandler(SIGNAL_ARGS) > { > int save_errno = errno; > elog(WARNING, "StatementCancelHandler() - entered"); > This part is never reached. Does this mean that the signal SIGINT got lost? Yeah, looks that way. You might try changing the WARNING to FATAL, as in your previous example, just to be totally sure that it's not a problem of the message not getting flushed out or something like that. But what it seems at the moment is that the signal isn't getting delivered. It'd be an idea to add some more logging to CheckStatementTimeout to verify that (1) MyProcPid corresponds to the process's PID and (2) the kill() isn't returning an error indication. You could also try making it use the non-HAVE_SETSID logic, ie don't use the "-", just to see if that changes anything. 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