diff options
author | Magnus Hagander <magnus@hagander.net> | 2010-12-19 21:31:23 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2010-12-19 21:32:58 +0100 |
commit | d382828f6ed1edc0f123934d53c52065ecc425c9 (patch) | |
tree | 0d6a8b041a8c171fe6f54bbbf9c750f1465ef80a | |
parent | 1b19e2c0baedb959650a27f25bd8537bd51d60b0 (diff) | |
download | postgresql-d382828f6ed1edc0f123934d53c52065ecc425c9.tar.gz postgresql-d382828f6ed1edc0f123934d53c52065ecc425c9.zip |
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.
-rw-r--r-- | src/backend/port/win32/crashdump.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/port/win32/crashdump.c b/src/backend/port/win32/crashdump.c index ba6fca75630..2f7c1b3ab66 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, |