From: Magnus Hagander Date: Sun, 19 Dec 2010 20:31:23 +0000 (+0100) Subject: Remove thread dumping constant that requires newer Platform SDK X-Git-Tag: REL9_1_ALPHA3~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d382828f6ed1edc0f123934d53c52065ecc425c9;p=postgresql Remove thread dumping constant that requires newer Platform SDK Since we're not multithreaded it only provides marginally useful information, and it does require a newer version of the Platform SDK than we target. We may want to reconsider this in the future along with a fix for MinGW. --- diff --git a/src/backend/port/win32/crashdump.c b/src/backend/port/win32/crashdump.c index ba6fca7563..2f7c1b3ab6 100644 --- a/src/backend/port/win32/crashdump.c +++ b/src/backend/port/win32/crashdump.c @@ -132,11 +132,6 @@ crashDumpHandler(struct _EXCEPTION_POINTERS *pExceptionInfo) dumpType |= MiniDumpWithIndirectlyReferencedMemory | MiniDumpWithPrivateReadWriteMemory; } - if (GetProcAddress(hDll, "SymFromIndex") != NULL) - { - /* If this function exists, we have version 6.2 or newer */ - dumpType |= MiniDumpWithThreadInfo; - } systemTicks = GetTickCount(); snprintf(dumpPath, _MAX_PATH,