forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9dfdbef
committed
Adjust libpq to avoid deadlock when both client and server want to send
data, and both have filled the transmission buffers. One scenario wherethis can happen was illustrated here:http://archives.postgresql.org/pgsql-hackers/2003-04/msg00979.php1 parentd5353ac commit9dfdbef
2 files changed
+31
-3
lines changedLines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1336 | 1336 |
| |
1337 | 1337 |
| |
1338 | 1338 |
| |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
1339 | 1350 |
| |
1340 | 1351 |
| |
1341 | 1352 |
| |
|
Lines changed: 19 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| |||
828 | 828 |
| |
829 | 829 |
| |
830 | 830 |
| |
831 |
| - | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
832 | 849 |
| |
833 | 850 |
| |
834 | 851 |
| |
|
0 commit comments
Comments
(0)