- Notifications
You must be signed in to change notification settings - Fork28
Commit6e146a6
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 parent42a46f5 commit6e146a6
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 | |
---|---|---|---|
| |||
1262 | 1262 |
| |
1263 | 1263 |
| |
1264 | 1264 |
| |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1265 | 1268 |
| |
1266 | 1269 |
| |
1267 | 1270 |
| |
1268 | 1271 |
| |
1269 |
| - | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1270 | 1280 |
|
0 commit comments
Comments
(0)