Re: rare avl shutdown slowness (related to signal handling) - Mailing list pgsql-hackers

From Qingqing Zhou
Subject Re: rare avl shutdown slowness (related to signal handling)
Date
Msg-id CAJjS0u24Op7GcpQtMGj=kJ6p4jZyf9ROwKNJcaDtx1-wMbvM+Q@mail.gmail.com
Whole thread Raw
In response to Re: rare avl shutdown slowness (related to signal handling)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Apr 7, 2015 at 4:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Indeed, which is why I think a patch for this issue should not introduce
> a new mode/context in which proc_exit() is executed.

Agree. Along this line, we can add an on_proc_exit hook simply
ereport("we are exiting") there. In this way, we reuse all shields
proc_exit() already has. Abuse?

Regards,
Qingqing



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: rare avl shutdown slowness (related to signal handling)
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: Doubt about AccessExclusiveLock in ALTER TABLE .. SET ( .. );