diff options
| author | Jeff Davis | 2024-03-25 18:51:44 +0000 |
|---|---|---|
| committer | Jeff Davis | 2024-03-25 19:01:11 +0000 |
| commit | abcea19abf3bd9dfbb4d4b9571ee7a522eb52893 (patch) | |
| tree | 6ec039dbe4da784aeea5507e83e10f16c6bb7eb8 | |
| parent | 5cc1f2626369536c191009bf084c9d1f456abc7a (diff) | |
Clarify comment for LogicalTapeSetBlocks().
Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us
Backpatch-through: 13
| -rw-r--r-- | src/backend/utils/sort/logtape.c | 6 |
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) |
