1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

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.
This commit is contained in:
Magnus Hagander
2010-12-19 21:31:23 +01:00
parent 1b19e2c0ba
commit d382828f6e

View File

@ -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,