summaryrefslogtreecommitdiff
path: root/src/backend/main/main.c
diff options
context:
space:
mode:
authorBruce Momjian2004-01-27 00:45:26 +0000
committerBruce Momjian2004-01-27 00:45:26 +0000
commit50491963cb6e439f09e4ade608c0c177ed6e6527 (patch)
treeecf63f05e07665bd493eff04a463b1350ad07742 /src/backend/main/main.c
parenteec08b95e74b6065efa5bc1ea5fd5844e7a95bbd (diff)
Here's the latest win32 signals code, this time in the form of a patch
against the latest shapshot. It also includes the replacement of kill() with pqkill() and sigsetmask() with pqsigsetmask(). Passes all tests fine on my linux machine once applied. Still doesn't link completely on Win32 - there are a few things still required. But much closer than before. At Bruce's request, I'm goint to write up a README file about the method of signals delivery chosen and why the others were rejected (basically a summary of the mailinglist discussions). I'll finish that up once/if the patch is accepted. Magnus Hagander
Diffstat (limited to 'src/backend/main/main.c')
-rw-r--r--src/backend/main/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index fe8879940ef..90a1a35a3a5 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.71 2004/01/11 03:49:31 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.72 2004/01/27 00:45:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -40,6 +40,9 @@
#include "utils/help_config.h"
#include "utils/ps_status.h"
#include "pgstat.h"
+#ifdef WIN32
+#include "libpq/pqsignal.h"
+#endif
@@ -97,6 +100,8 @@ main(int argc, char *argv[])
argv[0], err);
exit(1);
}
+
+ pgwin32_signal_initialize();
}
#endif