Peter LaDow <petela(at)gocougs(dot)wsu(dot)edu> writes:
> On Thu, Mar 6, 2014 at 8:18 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Could you try patching atexit_callback as above, and verify that
>> it does what you want (with or without the on_exit_reset() in your
>> extension)?
> That did it as well. Things are peachy (at least for this scenario).
> Would you like me to submit a patch (with you as the author of course)?
I think the right next step is to ask on pgsql-hackers if anyone can see
a flaw in this approach. I'll go do that. Thanks for following up!
regards, tom lane