pgsql-server: Fix for postmaster.c function win32_waitpid(int

Started by Bruce Momjianalmost 22 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Log Message:
-----------
Fix for 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.

Claudio Natoli

Modified Files:
--------------
pgsql-server/src/backend/postmaster:
postmaster.c (r1.421 -> r1.422)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/postmaster.c.diff?r1=1.421&r2=1.422)