From 45f87b7710214ea71947ee3678c6b7cb61580797 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Fri, 27 Apr 2018 09:31:43 +0300 Subject: [PATCH] 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 05dde631dd..19eb2fddca 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