Fix for postmaster.c function win32_waitpid(int *exitstatus) call to
authorBruce Momjian <[email protected]>
Sun, 29 Aug 2004 03:16:30 +0000 (03:16 +0000)
committerBruce Momjian <[email protected]>
Sun, 29 Aug 2004 03:16:30 +0000 (03:16 +0000)
commit466c1290df8dac0dacac781fc65583d4fef8747e
tree4393c657275c007555a64873c192dd44f8d91632
parent71fce6ce1b3e88c4d4a528081963ae502380cfe7
Fix for postc function win32_waitpid(int *exitstatus) call to
Win32 WaitForMultipleObjects:

ret = WaitForMultipleObjects(win32_numChildren, win32_childHNDArray,
FALSE, 0);

Problem is 'win32_numChildren' could be more then 64 ( function supports
), problem basically arise ( kills postgres ) when you create more then
64 connections and terminate some of them sill leaving more then 64.

Claudio Natoli
src/backend/postmaster/postmaster.c