Re: rare avl shutdown slowness (related to signal handling)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Qingqing Zhou <zhouqq(dot)postgres(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: rare avl shutdown slowness (related to signal handling)
Date: 2015-04-07 23:01:59
Message-ID: 14995.1428447719@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Qingqing Zhou <zhouqq(dot)postgres(at)gmail(dot)com> writes:
> I do feel that we have too many functions instructing how to handle
> interrupts and they are subtle - I just found a new friend
> HOLD_CANCEL_INTERRUPTS :-(

Indeed, which is why I think a patch for this issue should not introduce
a new mode/context in which proc_exit() is executed. The code path would
be so seldom executed that we'd never manage to isolate any bugs that
might be in it. Thus also my objection to Alvaro's patch that had us
going to proc_exit from partway through the error cleanup sequence.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Qingqing Zhou 2015-04-07 23:15:21 Re: rare avl shutdown slowness (related to signal handling)
Previous Message Qingqing Zhou 2015-04-07 22:57:00 Re: rare avl shutdown slowness (related to signal handling)