forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb783a38
committed
Fix failure of --jobs with vacuumdb on Windows
FD_SETSIZE needs to be declared before winsock2.h, or it is possible torun into buffer overflow issues when using --jobs. This is similar topgbench's solution done ina23c641.This has been introduced by71d84ef, and older versions have been usingthe default value of FD_SETSIZE, defined at 64.Per buildfarm member jacana, but this impacts all Windows animalsrunning the TAP tests. I have reproduced the failure locally to checkthe patch.Author: Michael PaquierReviewed-by: Andrew DunstanDiscussion:https://postgr.es/m/20190826054000.GE7005@paquier.xyzBackpatch-through: 9.51 parent6bdd9fb commitb783a38
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
0 commit comments
Comments
(0)