summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMagnus Hagander2010-12-19 15:45:28 +0000
committerMagnus Hagander2010-12-19 15:45:28 +0000
commitdcb09b595f88a3bca6097a6acc17bf2ec935d55f (patch)
tree001eb0187a2f0d7deec867ea27c0dea6d110ff0d /src/include
parent7e95337d586185c91f8af3fbcb0a6b380b4ba1c7 (diff)
Support for collecting crash dumps on Windows
Add support for collecting "minidump" style crash dumps on Windows, by setting up an exception handling filter. Crash dumps will be generated in PGDATA/crashdumps if the directory is created (the existance of the directory is used as on/off switch for the generation of the dumps). Craig Ringer and Magnus Hagander
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port/win32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index a9b9fcaf5b8..93439f763d0 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -303,6 +303,9 @@ extern int pgwin32_is_service(void);
/* in backend/port/win32_shmem.c */
extern int pgwin32_ReserveSharedMemoryRegion(HANDLE);
+/* in backend/port/win32/crashdump.c */
+extern void pgwin32_install_crashdump_handler(void);
+
/* in port/win32error.c */
extern void _dosmaperr(unsigned long);