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

From momjian@svr1.postgresql.org (Bruce Momjian)
Subject pgsql-server: Fix for postmaster.c function win32_waitpid(int
Date
Msg-id 20040829031630.7AE835E46E7@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql-server: Adjust regression expected file for new grant language
Next
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql-server: Update with new typedefs.