Tom Lane <tgl@sss.pgh.pa.us> writes:
> Greg Stark <gsstark@mit.edu> writes:
> > However it might be nice to have dumps go to a configurable place.
>
> You'd have to talk to your kernel provider about that one; we don't have
> any direct control over where or even whether core dumps occur.
Well on most platforms setting the cwd would suffice.
This would also potentially allow you to control profiling output (though I
suspect that gets created at fork time, which would be too late) and other
such things.
For that matter, would depending on the cwd interact well with trusted Pl
languages that can change the cwd? Would they have to guarantee to set it back
when they're done?
> This adds overhead, rather than removing it as I was hoping to do.
That's true. Hm. If the id were short it could go on every page.
--
greg