aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-04-27 09:31:43 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-04-27 09:31:43 +0300
commit45f87b7710214ea71947ee3678c6b7cb61580797 (patch)
tree0a37f64ed808638e40611df5afad7eeb35fb82ef
parent7551d9bc408c2402a8558367ee950ca403e25b37 (diff)
downloadpostgresql-45f87b7710214ea71947ee3678c6b7cb61580797.tar.gz
postgresql-45f87b7710214ea71947ee3678c6b7cb61580797.zip
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.
-rw-r--r--src/backend/utils/sort/logtape.c3
1 files changed, 1 insertions, 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