Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Clarify comment for LogicalTapeSetBlocks().
authorJeff Davis <jdavis@postgresql.org>
Mon, 25 Mar 2024 18:51:44 +0000 (11:51 -0700)
committerJeff Davis <jdavis@postgresql.org>
Mon, 25 Mar 2024 19:01:11 +0000 (12:01 -0700)
Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us
Backpatch-through: 13

src/backend/utils/sort/logtape.c

index 95b174fc7e8a028731c93171f99eae0a4e01149e..30238764d0c52bcbdcd9bd6ce165a3a7adccd58b 100644 (file)
@@ -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)