postgres.git / summary / log / commit / refs

commit    45f87b7710214ea71947ee3678c6b7cb61580797
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Fri Apr 27 06:31:43 2018 +0000
First released in: 11.0, 10.4

    Remove outdated comment on how to set logtape's read buffer size.
    
    Commit b75f467b6e 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.


src/backend/utils/sort/logtape.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c index 05dde631ddc..19eb2fddcad 100644 --- a/src/backend/utils/sort/logtape.c +++ b/src/backend/utils/sort/logtape.c @@ -47,8 +47,7 @@ * * To further make the I/Os more sequential, we can use a larger buffer * when reading, and read multiple blocks from the same tape in one go, - * whenever the buffer becomes empty. LogicalTapeAssignReadBufferSize() - * can be used to set the size of the read buffer. + * whenever the buffer becomes empty. * * To support the above policy of writing to the lowest free block, * ltsGetFreeBlock sorts the list of free block numbers into decreasing [parent: 7551d9bc408c]