src/backend/utils/sort/logtape.c
/*
 * Mark a logical tape set as not needing management of free space anymore.
 *
 * This should be called if the caller does not intend to write any more data
 * into the tape set, but is reading from un-frozen tapes.  Since no more
 * writes are planned, remembering free blocks is no longer useful.  Setting
 * this flag lets us avoid wasting time and space in ltsReleaseBlock(), which
 * is not designed to handle large numbers of free blocks.
 */
Mark a logical tape set as not needing management of free space anymore.
This should be called if the caller does not intend to write any more data
into the tape set, but is reading from un-frozen tapes.  Since no more
writes are planned, remembering free blocks is no longer useful.  Setting
this flag lets us avoid wasting time and space in ltsReleaseBlock(), which
is not designed to handle large numbers of free blocks.
Mark a logical tape set as not needing management of free space anymore . This should be called if the caller does not intend to write any more data into the tape set but is reading from un - frozen tapes . Since no more writes are planned remembering free blocks is no longer useful . Setting this flag lets us avoid wasting time and space in ltsReleaseBlock () which is not designed to handle large numbers of free blocks .
void
LogicalTapeSetForgetFreeSpace(LogicalTapeSet *lts)
{
	lts->forgetFreeSpace = true;
}
void LogicalTapeSetForgetFreeSpace ( LogicalTapeSet * lts ) { lts -> forgetFreeSpace = true ; }
Mark a logical tape set as not needing management of free space anymore.
Mark a logical tape set as not needing management of free space anymore .