Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 45f87b7

Browse files
committed
Remove outdated comment on how to set logtape's read buffer size.
Commit b75f467 removed the LogicalTapeAssignReadBufferSize() function, but forgot to update this comment. The read buffer size is an argument to LogicalTapeRewindForRead() now. Doesn't seem worth going into the details in the file header comment, so remove the outdated sentence altogether.
1 parent 7551d9b commit 45f87b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/utils/sort/logtape.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@
4747
*
4848
* To further make the I/Os more sequential, we can use a larger buffer
4949
* when reading, and read multiple blocks from the same tape in one go,
50-
* whenever the buffer becomes empty. LogicalTapeAssignReadBufferSize()
51-
* can be used to set the size of the read buffer.
50+
* whenever the buffer becomes empty.
5251
*
5352
* To support the above policy of writing to the lowest free block,
5453
* ltsGetFreeBlock sorts the list of free block numbers into decreasing

0 commit comments

Comments
 (0)