Re: Remove Windows crash dump support? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Remove Windows crash dump support?
Date
Msg-id 13677.1450799174@sss.pgh.pa.us
Whole thread Raw
In response to Re: Remove Windows crash dump support?  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Remove Windows crash dump support?
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Tue, Dec 22, 2015 at 3:53 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
>>> Back in 2010 I submitted a small feature to allow the creation of
>>> minidumps when backends crashed; see
>>> commit dcb09b595f88a3bca6097a6acc17bf2ec935d55f .
>>> At the time Windows lacked useful support for postmortem debugging and
>>> crash-dump management in the operating system its self, especially for
>>> applications running as services. That has since improved considerably.

> In which version(s) of Windows was this improvement added? I think that's
> really the part that matters here, not necessarily which version of
> PostgreSQL.

Even if it's all good in recent Windows, the impression I have is that an
awful lot of people are still running older versions, so I'd be pretty
hesitant to just drop the code.  Also, AFAICS it's pretty self-contained
and hence not much of a drag on development.  Is there any positive reason
to remove it?  If the native facilities on newer Windows are better,
maybe we should teach the crash handler to install itself only on older
versions?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: Patch: fix lock contention for HASHHDR.mutex
Next
From: Alex Ignatov
Date:
Subject: Re: Remove Windows crash dump support?