summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2024-03-25 11:51:44 -0700
committerJeff Davis <jdavis@postgresql.org>2024-03-25 12:01:11 -0700
commitabcea19abf3bd9dfbb4d4b9571ee7a522eb52893 (patch)
tree6ec039dbe4da784aeea5507e83e10f16c6bb7eb8 /src
parent5cc1f2626369536c191009bf084c9d1f456abc7a (diff)
Clarify comment for LogicalTapeSetBlocks().
Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us Backpatch-through: 13
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/sort/logtape.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c
index 95b174fc7e8..30238764d0c 100644
--- a/src/backend/utils/sort/logtape.c
+++ b/src/backend/utils/sort/logtape.c
@@ -1261,10 +1261,8 @@ LogicalTapeTell(LogicalTapeSet *lts, int tapenum,
}
/*
- * Obtain total disk space currently used by a LogicalTapeSet, in blocks.
- *
- * This should not be called while there are open write buffers; otherwise it
- * may not account for buffered data.
+ * Obtain total disk space currently used by a LogicalTapeSet, in blocks. Does
+ * not account for open write buffer, if any.
*/
long
LogicalTapeSetBlocks(LogicalTapeSet *lts)