- Notifications
You must be signed in to change notification settings - Fork5
Commit466c129
committed
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 then64 connections and terminate some of them sill leaving more then 64.Claudio Natoli1 parent71fce6c commit466c129
1 file changed
+15
-15
lines changedLines changed: 15 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
3736 | 3736 |
| |
3737 | 3737 |
| |
3738 | 3738 |
| |
3739 |
| - | |
3740 |
| - | |
3741 |
| - | |
3742 |
| - | |
3743 |
| - | |
3744 | 3739 |
| |
3745 | 3740 |
| |
3746 | 3741 |
| |
3747 | 3742 |
| |
3748 | 3743 |
| |
3749 | 3744 |
| |
3750 | 3745 |
| |
| 3746 | + | |
3751 | 3747 |
| |
3752 |
| - | |
3753 |
| - | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
3754 | 3755 |
| |
3755 | 3756 |
| |
3756 | 3757 |
| |
3757 | 3758 |
| |
3758 |
| - | |
3759 |
| - | |
| 3759 | + | |
| 3760 | + | |
3760 | 3761 |
| |
3761 | 3762 |
| |
3762 | 3763 |
| |
3763 |
| - | |
3764 |
| - | |
| 3764 | + | |
| 3765 | + | |
3765 | 3766 |
| |
3766 | 3767 |
| |
3767 |
| - | |
3768 | 3768 |
| |
3769 | 3769 |
| |
3770 | 3770 |
| |
3771 | 3771 |
| |
3772 |
| - | |
| 3772 | + | |
3773 | 3773 |
| |
3774 | 3774 |
| |
3775 | 3775 |
| |
| |||
3787 | 3787 |
| |
3788 | 3788 |
| |
3789 | 3789 |
| |
3790 |
| - | |
| 3790 | + | |
3791 | 3791 |
| |
3792 | 3792 |
| |
3793 | 3793 |
| |
|
0 commit comments
Comments
(0)