forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf716c32
committed
check socket creation errors against PGINVALID_SOCKET
Previously, in some places, socket creation errors were checked fornegative values, which is not true for Windows because sockets areunsigned. This masked socket creation errors on Windows.Backpatch through 9.0. 8.4 doesn't have the infrastructure to fix this.1 parentc03a6ae commitf716c32
File tree
7 files changed
+42
-17
lines changed- src
- backend
- libpq
- port/win32
- postmaster
- interfaces/libpq
7 files changed
+42
-17
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1676 | 1676 |
| |
1677 | 1677 |
| |
1678 | 1678 |
| |
1679 |
| - | |
| 1679 | + | |
1680 | 1680 |
| |
1681 | 1681 |
| |
1682 | 1682 |
| |
| |||
1756 | 1756 |
| |
1757 | 1757 |
| |
1758 | 1758 |
| |
1759 |
| - | |
| 1759 | + | |
1760 | 1760 |
| |
1761 | 1761 |
| |
1762 | 1762 |
| |
| |||
2583 | 2583 |
| |
2584 | 2584 |
| |
2585 | 2585 |
| |
2586 |
| - | |
| 2586 | + | |
2587 | 2587 |
| |
2588 | 2588 |
| |
2589 | 2589 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
547 | 547 |
| |
548 | 548 |
| |
549 | 549 |
| |
550 |
| - | |
| 550 | + | |
551 | 551 |
| |
552 | 552 |
| |
553 | 553 |
| |
| |||
670 | 670 |
| |
671 | 671 |
| |
672 | 672 |
| |
673 |
| - | |
| 673 | + | |
674 | 674 |
| |
675 | 675 |
| |
676 | 676 |
| |
| |||
711 | 711 |
| |
712 | 712 |
| |
713 | 713 |
| |
714 |
| - | |
| 714 | + | |
715 | 715 |
| |
716 | 716 |
| |
717 | 717 |
| |
| |||
788 | 788 |
| |
789 | 789 |
| |
790 | 790 |
| |
791 |
| - | |
| 791 | + | |
792 | 792 |
| |
793 | 793 |
| |
794 |
| - | |
| 794 | + | |
795 | 795 |
| |
796 | 796 |
| |
797 | 797 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
392 | 392 |
| |
393 | 393 |
| |
394 | 394 |
| |
395 |
| - | |
| 395 | + | |
396 | 396 |
| |
397 | 397 |
| |
398 | 398 |
| |
| |||
632 | 632 |
| |
633 | 633 |
| |
634 | 634 |
| |
635 |
| - | |
| 635 | + | |
636 | 636 |
| |
637 | 637 |
| |
638 | 638 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 |
| - | |
| 135 | + | |
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2146 | 2146 |
| |
2147 | 2147 |
| |
2148 | 2148 |
| |
2149 |
| - | |
| 2149 | + | |
2150 | 2150 |
| |
2151 | 2151 |
| |
2152 | 2152 |
| |
|
Lines changed: 29 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1631 | 1631 |
| |
1632 | 1632 |
| |
1633 | 1633 |
| |
1634 |
| - | |
1635 |
| - | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
1636 | 1651 |
| |
1637 | 1652 |
| |
1638 | 1653 |
| |
| |||
3136 | 3151 |
| |
3137 | 3152 |
| |
3138 | 3153 |
| |
3139 |
| - | |
| 3154 | + | |
3140 | 3155 |
| |
3141 | 3156 |
| |
3142 | 3157 |
| |
| |||
3149 | 3164 |
| |
3150 | 3165 |
| |
3151 | 3166 |
| |
3152 |
| - | |
| 3167 | + | |
3153 | 3168 |
| |
3154 | 3169 |
| |
3155 | 3170 |
| |
| |||
3220 | 3235 |
| |
3221 | 3236 |
| |
3222 | 3237 |
| |
3223 |
| - | |
| 3238 | + | |
3224 | 3239 |
| |
3225 | 3240 |
| |
3226 | 3241 |
| |
| |||
5281 | 5296 |
| |
5282 | 5297 |
| |
5283 | 5298 |
| |
| 5299 | + | |
| 5300 | + | |
| 5301 | + | |
| 5302 | + | |
| 5303 | + | |
| 5304 | + | |
| 5305 | + | |
| 5306 | + | |
| 5307 | + | |
5284 | 5308 |
| |
5285 | 5309 |
| |
5286 | 5310 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
364 | 364 |
| |
365 | 365 |
| |
366 | 366 |
| |
| 367 | + | |
367 | 368 |
| |
368 | 369 |
| |
369 | 370 |
| |
|
0 commit comments
Comments
(0)