295
295
visibilitymap_truncate(Relation rel, BlockNumber nheapblocks)
298
299
/* last remaining block, byte, and bit */
299
300
BlockNumber truncBlock = HEAPBLK_TO_MAPBLOCK(nheapblocks);
303
304
#ifdef TRACE_VISIBILITYMAP
304
305
elog(DEBUG1, "vm_truncate %s %d", RelationGetRelationName(rel), nheapblocks);