forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit128e9b2
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. While on it, add amissing newline to the previously-added error message.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 parentad9b419 commit128e9b2
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
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 |
| |
| |||
445 | 449 |
| |
446 | 450 |
| |
447 | 451 |
| |
448 |
| - | |
| 452 | + | |
449 | 453 |
| |
450 | 454 |
| |
451 | 455 |
| |
|
0 commit comments
Comments
(0)