diff options
| author | Magnus Hagander <magnus@hagander.net> | 2007-10-26 21:50:10 +0000 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2007-10-26 21:50:10 +0000 |
| commit | bb98b2e27ec35019f00217335e248ee68d17946a (patch) | |
| tree | f40133a745da0d1c7a123682fa3af4dfd4920b94 /src/include | |
| parent | acac68b2bcae818bc8803b8cb8cbb17eee8d5e2b (diff) | |
Change win32 child-death tracking code to use a threadpool to wait for
childprocess deaths instead of using one thread per child. This drastastically
reduces the address space usage and should allow for more backends running.
Also change the win32_waitpid functionality to use an IO Completion Port for
queueing child death notices instead of using a fixed-size array.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/port/win32.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 7397ea642e9..234efe23b58 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -1,9 +1,10 @@ -/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.76 2007/07/25 12:22:53 mha Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.77 2007/10/26 21:50:10 mha Exp $ */ #if defined(_MSC_VER) || defined(__BORLANDC__) #define WIN32_ONLY_COMPILER #endif +#define _WIN32_WINNT 0x0500 /* * Always build with SSPI support. Keep it as a #define in case * we want a switch to disable it sometime in the future. |
