forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc922353
committed
Check for interrupts during tuple-insertion loops.
Normally, this won't matter too much; but if I/O is really slow, forexample because the system is overloaded, we might write many pagesbefore checking for interrupts. A single toast insertion mightwrite up to 1GB of data, and a multi-insert could write hundredsof tuples (and their corresponding TOAST data).1 parent631e7f6 commitc922353
2 files changed
+5
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2355 | 2355 |
| |
2356 | 2356 |
| |
2357 | 2357 |
| |
| 2358 | + | |
| 2359 | + | |
2358 | 2360 |
| |
2359 | 2361 |
| |
2360 | 2362 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
| |||
1495 | 1496 |
| |
1496 | 1497 |
| |
1497 | 1498 |
| |
| 1499 | + | |
| 1500 | + | |
1498 | 1501 |
| |
1499 | 1502 |
| |
1500 | 1503 |
| |
|
0 commit comments
Comments
(0)