mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +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:
@ -132,11 +132,6 @@ crashDumpHandler(struct _EXCEPTION_POINTERS *pExceptionInfo)
|
|||||||
dumpType |= MiniDumpWithIndirectlyReferencedMemory |
|
dumpType |= MiniDumpWithIndirectlyReferencedMemory |
|
||||||
MiniDumpWithPrivateReadWriteMemory;
|
MiniDumpWithPrivateReadWriteMemory;
|
||||||
}
|
}
|
||||||
if (GetProcAddress(hDll, "SymFromIndex") != NULL)
|
|
||||||
{
|
|
||||||
/* If this function exists, we have version 6.2 or newer */
|
|
||||||
dumpType |= MiniDumpWithThreadInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
systemTicks = GetTickCount();
|
systemTicks = GetTickCount();
|
||||||
snprintf(dumpPath, _MAX_PATH,
|
snprintf(dumpPath, _MAX_PATH,
|
||||||
|
Reference in New Issue
Block a user