Win32 Native port more then 64 connection - Mailing list pgsql-bugs

From Maksim Likharev
Subject Win32 Native port more then 64 connection
Date
Msg-id 002801c48ae6$4ce454c0$8815a8c0@aurigin.com
Whole thread Raw
List pgsql-bugs
Hi,

postmaster.c 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.

So several iterations like that, in my case completely reproducible after
I'd.

Regards.

pgsql-bugs by date:

Previous
From: "John R Pierce"
Date:
Subject: Re: BUG #1232: Singapore Timezone missing
Next
From: "Spencer Quin"
Date:
Subject: Re: Memory leak