forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9acda73
committed
Fix failure of --jobs with reindexdb and 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 parentfb57f40 commit9acda73
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
|
0 commit comments
Comments
(0)