On Mon, Sep 14, 2020 at 3:24 PM Alvaro Herrera <alvhe...@2ndquadrant.com> wrote: > I don't understand this patch. Or maybe I should say I don't understand > the code you're patching. Why isn't the correct answer *always* > nBlocksWritten? The comment in LogicalTapeSet says:
I think that they are an exact match in practice (i.e. nBlocksWritten == nBlocksAllocated), given when and how we call LogicalTapeSetBlocks(). -- Peter Geoghegan