On Mon, Sep 14, 2020 at 3:54 PM Peter Geoghegan <p...@bowt.ie> wrote: > If I add the assertion described above and run the regression tests, > it fails within "select_distinct" (and at other points). This is the > specific code:
This variant of the same assertion works fine: + Assert(lts->enable_prealloc || lts->nBlocksWritten == lts->nBlocksAllocated); (This is hardly surprising, though.) -- Peter Geoghegan