提交 27bff750 编写于 作者: B Bruce Momjian

Prevent Win32 from displaying a popup box on backend crash. Instead let

the postmaster deal with it.

Magnus Hagander
上级 11a0c1de
......@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.101 2006/03/05 15:58:27 momjian Exp $
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.102 2006/06/12 16:17:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -117,6 +117,9 @@ main(int argc, char *argv[])
argv[0], err);
exit(1);
}
/* In case of general protection fault, don't show GUI popup box */
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册