On Tue, Apr 7, 2015 at 4:01 PM, Tom Lane <t...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers