Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Craig Ringer <craig@postnewspapers.com.au>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Dave Page <dpage@pgadmin.org>, pgsql-hackers@postgresql.org
Date: 2010-11-23T21:42:01Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes: > On Tue, Nov 23, 2010 at 15:09, Craig Ringer <craig@postnewspapers.com.au> wrote: >> Yep. That's how I'd want to do it in 9.1 - test for the directory and use >> that to decide whether to set the handler during early backend startup. That >> way you don't need a GUC, and should be able to load it *very* early in >> backend startup. > Or you set the handler always, and have the handler only actually > create the dump if the directory exists. +1 for that way. regards, tom lane