Re: Proposed Windows-specific change: Enable crash dumps (like core files)

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-hackers@postgreSQL.org
Date: 2010-10-04T12:06:26Z
Lists: 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