Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit27bff75

Browse files
committed
Prevent Win32 from displaying a popup box on backend crash. Instead let
the postmaster deal with it.Magnus Hagander
1 parent11a0c1d commit27bff75

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backend/main/main.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
*
1515
* IDENTIFICATION
16-
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.101 2006/03/05 15:58:27 momjian Exp $
16+
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.102 2006/06/12 16:17:20 momjian Exp $
1717
*
1818
*-------------------------------------------------------------------------
1919
*/
@@ -117,6 +117,9 @@ main(int argc, char *argv[])
117117
argv[0],err);
118118
exit(1);
119119
}
120+
121+
/* In case of general protection fault, don't show GUI popup box */
122+
SetErrorMode(SEM_FAILCRITICALERRORS |SEM_NOGPFAULTERRORBOX);
120123
}
121124
#endif
122125

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp