Re: Proposed Windows-specific change: Enable crash dumps (like core files) - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Date
Msg-id 4CA9C342.70501@dunslane.net
Whole thread Raw
In response to Proposed Windows-specific change: Enable crash dumps (like core files)  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Proposed Windows-specific change: Enable crash dumps (like core files)
List pgsql-hackers

On 10/04/2010 07:50 AM, Craig Ringer wrote:
>
> - If the crash dump handler is enabled by setting the GUC,
>   all backends register the handler during startup or (if it
>   proves practical) when the GUC is changed.
>
> - When the handler is triggered by the OS trapping an unhandled
>   exception, it loads dbghelp.dll, writes the appropriate dump
>   format to the hardcoded path, and terminates the process.
>
>

What is the performance impact of doing that? Specifically, how does it 
affect backend startup time?

cheers

andrew


pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Proposed Windows-specific change: Enable crash dumps (like core files)
Next
From: Dave Page
Date:
Subject: Re: Proposed Windows-specific change: Enable crash dumps (like core files)