- Notifications
You must be signed in to change notification settings - Fork5k
Commitc8aeaf3
committed
Change LogicalTapeSetBlocks() to use nBlocksWritten.
Previously, it was based on nBlocksAllocated to account for tapes withopen write buffers that may not have made it to the BufFile yet.That was unnecessary, because callers do not need to get the number ofblocks while a tape has an open write buffer; and it also conflictedwith the preallocation logic added for HashAgg.Reviewed-by: Peter GeogheganDiscussion:https://postgr.es/m/ce5af05900fdbd0e9185747825a7423c48501964.camel@j-davis.comBackpatch-through: 131 parent3bd35d4 commitc8aeaf3
2 files changed
+12
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2704 | 2704 |
| |
2705 | 2705 |
| |
2706 | 2706 |
| |
2707 |
| - | |
2708 | 2707 |
| |
| 2708 | + | |
2709 | 2709 |
| |
2710 | 2710 |
| |
2711 | 2711 |
| |
|
Lines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1264 | 1264 |
| |
1265 | 1265 |
| |
1266 | 1266 |
| |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
1267 | 1270 |
| |
1268 | 1271 |
| |
1269 | 1272 |
| |
1270 | 1273 |
| |
1271 |
| - | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1272 | 1282 |
|
0 commit comments
Comments
(0)