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:32:42 +0300
commit706b86bd4354d48a62e21953b2aaf258f90307c3 (patch)
tree2bdae92c5f140d60feb5c3776393628869ed963e
parent131bfcb7fd098c17837b0b5863521e6a81d8e384 (diff)
downloadpostgresql-706b86bd4354d48a62e21953b2aaf258f90307c3.tar.gz
postgresql-706b86bd4354d48a62e21953b2aaf258f90307c3.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 5ebb6fb11ab..d454fd1939f 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