Magnus Hagander <magnus(at)hagander(dot)net> writes:
> Tom Lane wrote:
>> Another thought that came to mind: we could set up an atexit hook that
> This sounds like a good idea in general - because it will avoid having
> to restart on unix.
> It'd still have to be combined with the dead-man-switch idea to defend
> completely. But it could be worthwhile doing anyway, for other platforms.
Right, exactly. I'll try to produce a patch today.
regards, tom lane