Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bc5fcaa

Browse files
committed
Clarify comment for LogicalTapeSetBlocks().
Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us Backpatch-through: 13
1 parent 3ff01b2 commit bc5fcaa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/backend/utils/sort/logtape.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -1174,10 +1174,8 @@ LogicalTapeTell(LogicalTape *lt, int64 *blocknum, int *offset)
11741174
}
11751175

11761176
/*
1177-
* Obtain total disk space currently used by a LogicalTapeSet, in blocks.
1178-
*
1179-
* This should not be called while there are open write buffers; otherwise it
1180-
* may not account for buffered data.
1177+
* Obtain total disk space currently used by a LogicalTapeSet, in blocks. Does
1178+
* not account for open write buffer, if any.
11811179
*/
11821180
int64
11831181
LogicalTapeSetBlocks(LogicalTapeSet *lts)

0 commit comments

Comments
 (0)